[0.16.1] take_screenshot ignores surface parameter
Posted: Thu Dec 14, 2017 8:11 am
Unlesss I'm really misunderstanding how the new surface parameter to take_screenshot is supposed to work, it seems like it does nothing?
It does not.
When used while on surface 1 (correct): When used while on surface 2 (incorrect): However, using a surface that does not exist still correctly gives an error.
If I'm reading that correctly the following command should always yield the same result no matter the surface the player is on.API wrote:surface :: SurfaceSpecification (optional): IF defined, the screenshot will be take on this surface unless player is also given.
Code: Select all
/c game.take_screenshot{surface=1, position={10,10}, resolution={100,100}}
When used while on surface 1 (correct): When used while on surface 2 (incorrect): However, using a surface that does not exist still correctly gives an error.