I read that F12 should send an ingame screenshot to the games directory.
I tried it and it didn't work.
How do I take a screenshot?
A game needs this in the global script, otherwise it won't work.
function on_key_press(eKeyCode keycode)
{
if (keycode == eKeyF12) SaveScreenShot("scrnshot.bmp");
}
This will only work if the according line is in on_key_press(), it's not hard-coded.
Here's the line from the default game:
if (keycode == eKeyF12) SaveScreenShot("scrnshot.bmp"); // F12
Note that this won't work during blocking events.
The file is saved to the save game directory, which is usually in C:\Users\[username]\Saved Games\[game name]
Thank you