cutscene

Script Reference Scenes & Game

cutscene (script ; donthide) //Beginner

Used for : Anything.

Parameters :

- script - Name of a script.
- donthide - Optional.

Description :

Starts a script as a cutscene. While a cutscene is running the player cannot interact with the game. Walkmapscripts will not be processed during a cutscene. Also the roomposition will not follow the focused character and the mousecursor is deactivated.

During a cutscene you can use the scriptcommand wait to pause the cutscene. Also other scriptcommands like speech will by default pause the cutscene for the length of the spoken text or voicefile.

GUI elements will be invisible except if you use donthide as a second parameter.

The player can skip a cutscene by pressing ESC. With the scriptcommand stopskip you can set points in a cutscene where it will be resumed.