Scripted Cutscenes Confusion #576
-
tryna make a cutscene using cutscene script |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
assuming that your difficulties are blended and nuclear, rename cutscene-blended.mp4 and cutscene-nuclear.mp4 to blended-cutscene.mp4 and nuclear-cutscene.mp4 and do: function postCreate()
startCutscene(PlayState.difficulty.toLowerCase(), null, null, true); replace the second null with a function to run after the cutscene ends if you want and replace that true if you want the cutscene to run everytime you restart the song even if you've already finished watching it i cant test directly so tell me if it works |
Beta Was this translation helpful? Give feedback.
okay first of all, dont use the get_ function directly, its a getter, just use trace(isVideoPlaying)
and what you did there with close() isnt passing the function, you just executed the function, for passing functions just either pass it without parenthesis or () -> close()