Ifcutscene

From EDukeWiki
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.