Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Making a variable occur to each clone instead of all of them

    Help
    3
    5
    128
    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.
    • The_True_Odst
      The True ODST Best Forum Helpers last edited by

      How do you do this? I’m trying to make it to where the variable only occurs to each individual clone instead of all the clones.

      ODST: Orbital Drop Ship Trooper
      (Halo Reference)

      Attractive Milk Tyller_ 2 Replies Last reply Reply Quote 0
      • Attractive Milk
        Rhyder Byrd @The_True_Odst last edited by Attractive Milk

        @the_true_odst Hmm I’m not sure. maybe if you assign them different costumes and say if this costume then do that for each clone.

        I think it could work and sorry if I’m confusing I’m not good at explaining things lol.

        The_True_Odst 1 Reply Last reply Reply Quote 0
        • The_True_Odst
          The True ODST Best Forum Helpers @Attractive Milk last edited by The_True_Odst

          @attractive-milk That isn’t a block. Plus, I can’t make a variable for each clone since there could hypothetically be an “infinite” number of clones.

          ODST: Orbital Drop Ship Trooper
          (Halo Reference)

          Attractive Milk 1 Reply Last reply Reply Quote 0
          • Tyller_
            Tyller_ Best Forum Helpers @The_True_Odst last edited by

            @the_true_odst it does work like that, if you have a sprite only variable and update it, it will only update for either the original sprite or clone, it depends on the scope of it, like when I receive broadcast hat blocks trigger for all clones, but stuff like when this sprite touched trigger per clone,

            you can prove that it is per clone by making it so when they start as clone they set a sprite only variable to 2, then say it, and you can see that it shows to you that variable is whatever it was before (because you see the value based on the main sprite)

            <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
            </div>

            1 Reply Last reply Reply Quote 0
            • Attractive Milk
              Rhyder Byrd @The_True_Odst last edited by

              @the_true_odst Ok

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