EVENT SKIPCUTSCENE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
EVENT_SKIPCUTSCENE is a [[EDuke32 event list|Misc Event]].
{{EventTable|1=EVENT_SKIPCUTSCENE|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}


Used with [[startcutscene]]. RETURN is set to 1 when any key is pressed, and is used to control when a cutscene ends.
'''EVENT_SKIPCUTSCENE''' is a [[EDuke32 event list|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.


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

Latest revision as of 07:53, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_SKIPCUTSCENE screenpeek 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.