EVENT PRECUTSCENE: Difference between revisions

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



Revision as of 05:51, 15 August 2021

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

EVENT_PRECUTSCENE is a Misc Event.

This event is fired before the cutscene frame is rendered. Used with startcutscene and ifcutscene.

RETURN is set to the current cutscene frame. If the cutscene is an ANM file, RETURN can be altered to change the current frame of the cutscene. However, in the case of IVF files, this is not possible.