Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
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
hyperPad

hyperPad Forum

  1. Home
  2. Comments & Feedback
  3. Spawned Object Illogic

Spawned Object Illogic

Scheduled Pinned Locked Moved Comments & Feedback
11 Posts 4 Posters 1.5k Views 2 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.
  • T Offline
    T Offline
    Thecheater887
    wrote on last edited by Thecheater887
    #1

    I may just be a moron (most likely), but we direly need a "sandbox" to put Objects we want to spawn duplicates of.

    We can't destroy the original, or it won't spawn any more, and we can't leave the original, or it looks and acts funky.

    I've tried using the 'IsChild' system, but it changes the original, and the spawn.

    Either we need the sandbox, or a spawn behavior toggle labeled "Connected behaviors inherit spawned object".

    D iTap DevelopmentI KamdroidK 3 Replies Last reply
    1
    • T Thecheater887

      I may just be a moron (most likely), but we direly need a "sandbox" to put Objects we want to spawn duplicates of.

      We can't destroy the original, or it won't spawn any more, and we can't leave the original, or it looks and acts funky.

      I've tried using the 'IsChild' system, but it changes the original, and the spawn.

      Either we need the sandbox, or a spawn behavior toggle labeled "Connected behaviors inherit spawned object".

      D Offline
      D Offline
      Deeeds
      wrote on last edited by
      #2

      @Thecheater887 Yes!

      A Class (with a capital C) in any other language.

      1 Reply Last reply
      0
      • T Thecheater887

        I may just be a moron (most likely), but we direly need a "sandbox" to put Objects we want to spawn duplicates of.

        We can't destroy the original, or it won't spawn any more, and we can't leave the original, or it looks and acts funky.

        I've tried using the 'IsChild' system, but it changes the original, and the spawn.

        Either we need the sandbox, or a spawn behavior toggle labeled "Connected behaviors inherit spawned object".

        iTap DevelopmentI Offline
        iTap DevelopmentI Offline
        iTap Development
        wrote on last edited by
        #3

        @Thecheater887 you can still spawn even if you deleted the original.

        D T 2 Replies Last reply
        1
        • iTap DevelopmentI iTap Development

          @Thecheater887 you can still spawn even if you deleted the original.

          D Offline
          D Offline
          Deeeds
          wrote on last edited by
          #4

          @iTap-Development WtF ??? !!!

          1 Reply Last reply
          0
          • iTap DevelopmentI iTap Development

            @Thecheater887 you can still spawn even if you deleted the original.

            T Offline
            T Offline
            Thecheater887
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • T Thecheater887

              I may just be a moron (most likely), but we direly need a "sandbox" to put Objects we want to spawn duplicates of.

              We can't destroy the original, or it won't spawn any more, and we can't leave the original, or it looks and acts funky.

              I've tried using the 'IsChild' system, but it changes the original, and the spawn.

              Either we need the sandbox, or a spawn behavior toggle labeled "Connected behaviors inherit spawned object".

              KamdroidK Offline
              KamdroidK Offline
              Kamdroid
              wrote on last edited by
              #6

              @Thecheater887 unnecessary as iTap Development pointed out, you can still spawn the original object even if it has been destroyed.

              1 Reply Last reply
              0
              • iTap DevelopmentI Offline
                iTap DevelopmentI Offline
                iTap Development
                wrote on last edited by iTap Development
                #7

                @Thecheater887 are you having the object destroy itself? That could be why you couldn’t spawn it. Because then all the spawns are going to destroy themselves, making it appear you couldn’t spawn it.

                If so, destroy it from another object.

                T 1 Reply Last reply
                0
                • iTap DevelopmentI iTap Development

                  @Thecheater887 are you having the object destroy itself? That could be why you couldn’t spawn it. Because then all the spawns are going to destroy themselves, making it appear you couldn’t spawn it.

                  If so, destroy it from another object.

                  T Offline
                  T Offline
                  Thecheater887
                  wrote on last edited by
                  #8

                  @iTap-Development the way the logic is formatted, to prevent loops, is when A collides with B, B dies. B is the spawned object.

                  The spawning workss now I see, but I still want a "disable parent" toggle, or a way to figure one out.

                  D iTap DevelopmentI 2 Replies Last reply
                  0
                  • T Thecheater887

                    @iTap-Development the way the logic is formatted, to prevent loops, is when A collides with B, B dies. B is the spawned object.

                    The spawning workss now I see, but I still want a "disable parent" toggle, or a way to figure one out.

                    D Offline
                    D Offline
                    Deeeds
                    wrote on last edited by Deeeds
                    #9

                    @Thecheater887 I haven't tried this yet, but apparently this is the case:

                    Modifying your parent in code, during gameTime, doesn't alter what it spits out when it's used as the cookie cutter for your spawned instances.

                    So, right after the game launches, you could, for example, set your parent to have a peculiar trait.

                    All your subsequent spawned instances won't have this trait.

                    So you can then search for the parent with a For Loop that finds that one weird one... and delete it. Maybe.

                    But I don't know that that gets around the lack of referencing. Either.

                    Conundrum. I'm confused.

                    1 Reply Last reply
                    0
                    • T Thecheater887

                      @iTap-Development the way the logic is formatted, to prevent loops, is when A collides with B, B dies. B is the spawned object.

                      The spawning workss now I see, but I still want a "disable parent" toggle, or a way to figure one out.

                      iTap DevelopmentI Offline
                      iTap DevelopmentI Offline
                      iTap Development
                      wrote on last edited by
                      #10

                      @Thecheater887 @Deeeds to get rid of the original, just use a destroy object in a DIFFERENT object with the original selected for the behavior.

                      D 1 Reply Last reply
                      0
                      • iTap DevelopmentI iTap Development

                        @Thecheater887 @Deeeds to get rid of the original, just use a destroy object in a DIFFERENT object with the original selected for the behavior.

                        D Offline
                        D Offline
                        Deeeds
                        wrote on last edited by
                        #11

                        @iTap-Development I'm presuming he needs the spawning object for a while.

                        Imagine it's a castle. At some point he needs to destroy the burnt castle.

                        In which case he's going to need identify each castle. etc.

                        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

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