CaptureScreenshot

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Outputs contents of current screen into an image file to the current Fallout root folder. If parameters omitted will output to "a_Screenshot.jpg". Alternate function name - "Screenshot".

Syntax

[help]
CaptureScreenshot File:string Format:int

Formats

0 - .JPG;
1 - .BMP;
2 - .GIF;
3 - .TIFF;
4 - .PNG;
5 - .DDS(see notes);
 

Or:

Screenshot File:string Format:int

Formats

0 - .JPG;
1 - .BMP;
2 - .GIF;
3 - .TIFF;
4 - .PNG;
5 - .DDS(see notes);

Example

Screenshot

Will make a screnshot of whole screen and output it to "a_Screenshot.jpg" in game folder.

CaptureScreenshot "MyScreen" 

Will make a screnshot of whole screen and output it to "MyFile.jpg" in game folder.

CaptureScreenshot "MyScreen" 1 

Will make a screnshot of whole screen and output it to "MyFile.bmp" in game folder.

Notes

  • It's impossible to delete screenshot taken using this function via scripts. If you want to manage screenshots later you need to use CaptureScreenshotAlt.
  • .DDS format is not real DDS texture but it can be read by game XML files so you can use it in UI mods just after extracting.

See Also