EVENT SKIPCUTSCENE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
m Update documentation
Line 1: Line 1:
EVENT_SKIPCUTSCENE is a [[EDuke32 event list|Misc Event]].
'''EVENT_SKIPCUTSCENE''' is a [[EDuke32 event list|Misc Event]].


Used with [[startcutscene]]. RETURN is set to 1 when any key is pressed, and is used to control when a cutscene ends.
The event is fired on each frame of a cutscene. Used with [[startcutscene]] and [[ifcutscene]].
 
The RETURN variable contains the skip status of the cutscene. If it is set to 0, the cutscene will continue playing on the next frame, otherwise it will be skipped.
 
The player can normally skip a cutscene by pressing any key on the keyboard. Set RETURN to 0 in order to disable cutscene skipping.
 
Use in conjunction with [[ifcutscene]] to conditionally skip certain cutscenes, or to make them unskippable.


Set RETURN to 0 in order to disable cutscene skipping.
[[Category:Events]]
[[Category:Events]]

Revision as of 23:36, 3 August 2021

EVENT_SKIPCUTSCENE is a Misc Event.

The event is fired on each frame of a cutscene. Used with startcutscene and ifcutscene.

The RETURN variable contains the skip status of the cutscene. If it is set to 0, the cutscene will continue playing on the next frame, otherwise it will be skipped.

The player can normally skip a cutscene by pressing any key on the keyboard. Set RETURN to 0 in order to disable cutscene skipping.

Use in conjunction with ifcutscene to conditionally skip certain cutscenes, or to make them unskippable.