Navigation

    CreatiCode Scratch Forum

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

    Clone won't appear :(

    Help
    3
    7
    151
    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 The_True_Odst

      4941a866-0e4f-405f-b919-c2b0f7d3b5f4-Screen-recording-2025-04-15-1.32.21-PM.gif

      The “When I receive {Current shares},” lights up, and the “If statement” is true, so it should spawn the clone. However, it just chooses not to spawn it for some reason (as you can see with the bottom right code string)

      Here’s the link: https://play.creaticode.com/projects/67f67b70904c6cecf55b8dbc

      ODST: Orbital Drop Ship Trooper
      (Halo Reference)

      1 Reply Last reply Reply Quote 0
      • Tyller_
        Tyller_ Best Forum Helpers last edited by

        @the_true_odst try console logging stuff to ensure, put a console log before you create the clone (in the if) to ensure it’s actually triggering properly

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

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

          @tyller_ It does trigger properly, I saw the message in the console saying it worked, but it doesn’t appear.

          This is what happens when I don’t use the clone:

          357f811d-09de-4583-a0d5-78e7fb587bf1-image.png

          ODST: Orbital Drop Ship Trooper
          (Halo Reference)

          info-creaticode 1 Reply Last reply Reply Quote 0
          • info-creaticode
            CreatiCode @The_True_Odst last edited by

            @the_true_odst

            Maybe it is a good opportunity to learn how to debug? Here are 2 tutorials that should be helpful:

            • https://www.forum.creaticode.com/topic/1568/how-to-debug
            • https://www.forum.creaticode.com/topic/1102/creaticode-xo-ai-assistant-debugging
            The_True_Odst 1 Reply Last reply Reply Quote 0
            • The_True_Odst
              The True ODST Best Forum Helpers @info-creaticode last edited by

              @info-creaticode Well, the thing is, it worked before, and I didn’t change anything to it when it stopped working.

              ODST: Orbital Drop Ship Trooper
              (Halo Reference)

              info-creaticode 1 Reply Last reply Reply Quote 0
              • info-creaticode
                CreatiCode @The_True_Odst last edited by

                @the_true_odst

                I looked at your “Sprite1”, but there is no “create clone of myself as [polkadot]” block in that sprite. Can you double-check on that?

                The_True_Odst 1 Reply Last reply Reply Quote 0
                • The_True_Odst
                  The True ODST Best Forum Helpers @info-creaticode last edited by

                  @info-creaticode It’s not there anymore, I changed it from a clone to the actual sprite since I couldn’t figure out the bug.

                  ODST: Orbital Drop Ship Trooper
                  (Halo Reference)

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