(Formerly known as game.in_cutscene, which is now obsolete)
static bool Game.InSkippableCutscene
Returns whether the game is currently between a StartCutscene and EndCutscene, and therefore
whether the player is able to skip over this part of the game.
When the player chooses to skip a cutscene all of the script code is run as usual,
but any blocking commands are run through without the usual game cycle delays. Therefore, you
should never normally need to use this property since cutscenes should all be handled automatically,
but it could be useful for script modules.
NOTE: This is a static function, and thus need to be called with Game. in front of it. See
the example below.
Example:
if (Game.InSkippableCutscene)
{
Display("The player might never see this message!");
}
will display a message if we are within a cutscene
Compatibility: Supported by AGS 3.0.1 and later versions.
See Also: StartCutscene, EndCutscene,
Game.SkippingCutscene
|