API:TakeScreenShot
From RoR Wiki
UI Lua API · Game functions
Version: WAR 1.4.8
Saves a screenshot of the game window.
TakeScreenShot()
Arguments
None.
Returns
Nothing.
Details
- The file name starts with the character's name followed by
_while the player is in the game world, and withscreenshot_otherwise. The renderer adds the rest of the name. - The client makes sure the screenshot folder exists before saving.
- A message is written to the client log.
- Arguments are not checked; anything passed is ignored.
- The stock UI never calls this function.
Errors
None.
Example
A minimal call:
TakeScreenShot()
