EVENT PRECUTSCENE: 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_PRECUTSCENE is a [[EDuke32 event list|Misc Event]].
{{EventTable|1=EVENT_PRECUTSCENE|2=[[screenpeek]]|3=[[i|player->i]]|4=1 value}}
 
'''EVENT_PRECUTSCENE''' is a [[EDuke32 event list|Misc Event]].


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

Latest revision as of 08: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.