Djinni Wiki

function PlayCutscene (string sName, string sCustomOnEndScript = "", int bPureMode = 1, int bStartEffect = 1, int bEndEffect = 1, int bEndsWithDialogue = 0, int bDontRestartMusicAfterCutscene = 0)

Plays cutscene. Custom OnEnd NSS script can be specified (ran after cutscene's internal end script, if any).

  • bDontRestartMusicAfterCutscene: use this only if you intend to switch area after this cutscene and don't want to resume music.
  • Return type: void
  • Include file: nwscriptdefn