Ifcutscene

From EDukeWiki
Revision as of 23:26, 3 August 2021 by Doom64hunter (talk | contribs) (Add documentation for the command)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.