screenshot: Difference between revisions
Jump to navigation
Jump to search
Pennyworth (talk | contribs) (Added more detail for clarity, added another example, and added BIS_fnc_exportEditorPreview and Configuring Asset Previews to see also) |
mNo edit summary |
||
Line 6: | Line 6: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Captures a screenshot and stores it to | | Captures a screenshot and stores it to given filename. PNG is the only available format and the file must have .png extension. | ||
<br /><br /> | |||
The file is saved into ''Screenshots'' folder in the [[Profile]] directory. The folder is by default limited to 250 MB to prevent abuse. | |||
<br /> | |||
To increase the limit, add the following line at the end of the profile file: | |||
<code>maxScreenShotFolderSizeMB <nowiki>=</nowiki> 2000;</code> | |||
2000 can be replaced by any value in MB. | |||
|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:43, 21 June 2016
Description
- Description:
- Captures a screenshot and stores it to given filename. PNG is the only available format and the file must have .png extension.
The file is saved into Screenshots folder in the Profile directory. The folder is by default limited to 250 MB to prevent abuse.
To increase the limit, add the following line at the end of the profile file:maxScreenShotFolderSizeMB = 2000;
2000 can be replaced by any value in MB. - Groups:
- Uncategorised
Syntax
- Syntax:
- screenshot filename
- Parameters:
- filename: String
- Return Value:
- Nothing
Examples
- Example 1:
screenshot "testFile.png";
- Example 2:
- The following code will result in the screenshot being placed in \Documents\Arma 3\Screenshots\any\where\you\want.png
screenshot "any\where\you\want.png";
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note