Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Help
  3. Making a variable occur to each clone instead of all of them

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

Scheduled Pinned Locked Moved Help
5 Posts 3 Posters 1.3k Views 1 Watching
  • 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.
  • TheNicknameGovT Offline
    TheNicknameGovT Offline
    TheNicknameGov
    trusted helpers
    wrote on last edited by
    #1

    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.

    Please help all my projects are 3000+ blocks

    Rhyder ByrdA Tyller_T 2 Replies Last reply
    0
    • TheNicknameGovT TheNicknameGov

      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.

      Rhyder ByrdA Offline
      Rhyder ByrdA Offline
      Rhyder Byrd
      wrote on last edited by Attractive Milk
      #2

      @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.

      TheNicknameGovT 1 Reply Last reply
      0
      • Rhyder ByrdA Rhyder Byrd

        @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.

        TheNicknameGovT Offline
        TheNicknameGovT Offline
        TheNicknameGov
        trusted helpers
        wrote on last edited by TAO
        #3

        @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.

        Please help all my projects are 3000+ blocks

        Rhyder ByrdA 1 Reply Last reply
        0
        • TheNicknameGovT TheNicknameGov

          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.

          Tyller_T Offline
          Tyller_T Offline
          Tyller_
          trusted helpers
          wrote on last edited by
          #4

          @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
          0
          • TheNicknameGovT TheNicknameGov

            @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.

            Rhyder ByrdA Offline
            Rhyder ByrdA Offline
            Rhyder Byrd
            wrote on last edited by
            #5

            @the_true_odst Ok

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • CreatiCode