Randomize cutscenes order and loop all cutscenes?

Forums 💬 Slate Sequencer ⚙️ Support Randomize cutscenes order and loop all cutscenes?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #20260
    cjp562
    Participant

      I tried to modify the CutsceneSequencePlayer in Quick scripts to get it randomize playing order which I kind of got down but I want to make it no duplicates . And, I want to loop it but I don’t know how but I know it has something to do with this line “cutscene.Play(() => { MoveNext(); }); “.

      #20262
      Gavalakis
      Keymaster

        Hello,

        Sorry for the late reply due to xmas and happy new year!

        I have attached for you here a modified script of SequencePlayer that randomize the cutscene list first. The script basically randomize the list in awake and then everything else works as the original script, but instead does so with the randomized list (called shuffled) instead of the original list. Let me know if that is what you were after.

        Thanks 🙂

        #20261
        cjp562
        Participant

          Thank you, everything works as told! 🙂

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.