• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Initializing a scene with variables?

    How To... ?
    3
    4
    2237
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dappertutto
      Dappertutto last edited by

      I've got a scene that I'm using as a re-usable "object" across different scenes throughout my patch. Does anyone have a suggestion about how to activate that scene with a different set of variables?

      In specific, this scene that I'm re-using has a sprite in it. Each time I activate the scene, I want to pre-load it with a different set of x, y, and intensity vars. Is there some tricky way to pass in variables?
      1 Reply Last reply Reply Quote 0
      • Skulpture
        Skulpture Izzy Guru last edited by

        How about using snapshots?

        ENTER SCENE TRIGGER ACTOR (linked to)> RECALL SNAPSHOT ACTOR

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • Dappertutto
          Dappertutto last edited by

          Thanks, I think that can work for me.

          Any other suggestions in general about how to pass variables/values across scenes? 
          1 Reply Last reply Reply Quote 0
          • LPmode
            LPmode Beta Silver last edited by

            you can use broadcast/listener actors so every time you activate that scene you also send it the values you need. I'd fade in the scene a little so that you don't see a jump from sprite's local values to the broadcast ones.

            M1 Max 32GB + ThinkPad P72 64GB Quadro P5200 W10. liviu.stoptime.live

            1 Reply Last reply Reply Quote 0
            • First post
              Last post