EVENT SKIPCUTSCENE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Update documentation
mNo edit summary
Line 1: Line 1:
{{EventTable|1=EVENT_SKIPCUTSCENE|2=Current Player|3=[[i|player->i]]|4=1 value}}
'''EVENT_SKIPCUTSCENE''' is a [[EDuke32 event list|Misc Event]].
'''EVENT_SKIPCUTSCENE''' is a [[EDuke32 event list|Misc Event]].



Revision as of 06:53, 15 August 2021

Event ID player# THISACTOR RETURN
EVENT_SKIPCUTSCENE Current Player player->i 1 value

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.