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}}
{{EventTable|1=EVENT_PRECUTSCENE|2=[[screenpeek]]|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]].

Latest revision as of 07:48, 4 February 2022

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