Jump to content

Ifcutscene: Difference between revisions

From EDukeWiki
Add documentation for the command
 
(No difference)

Latest revision as of 23:26, 3 August 2021

ifcutscene <cutscene path>

Allows branching code paths based on whether the specified cutscene is currently playing.

<cutscene path> is hereby a quote that stores the path to the cutscene.

Note that this command should only be used in the events EVENT_CUTSCENE, EVENT_PRECUTSCENE and EVENT_SKIPCUTSCENE. Outside of these events, it will always return false.