EVENT PRECUTSCENE: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "EVENT_PRECUTSCENE is a Misc Event. Used with startcutscene. RETURN sets the frame of an ANM before it is rendered. Category:Events"
 
mNo edit summary
 
(3 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}}


Used with startcutscene. RETURN sets the frame of an ANM before it is rendered.
'''EVENT_PRECUTSCENE''' is a [[EDuke32 event list|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.


[[Category:Events]]
[[Category:Events]]

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.