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. Help and Support
  3. Two Receivers, inside one object, only one works?

Two Receivers, inside one object, only one works?

Scheduled Pinned Locked Moved Help and Support
9 Posts 3 Posters 716 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.
  • D Offline
    D Offline
    Deeeds
    wrote on last edited by
    #1

    I have two receivers inside one object.

    Both are listening to the same message.

    One of them works, the other doesn't.

    Why is this?

    Aidan_FireA 1 Reply Last reply
    0
    • D Deeeds

      I have two receivers inside one object.

      Both are listening to the same message.

      One of them works, the other doesn't.

      Why is this?

      Aidan_FireA Offline
      Aidan_FireA Offline
      Aidan_Fire
      wrote on last edited by
      #2

      @Deeeds I haven’t tried this, but maybe an object can only listen to a broadcasted message once. You shouldn’t be doing this anyway, if you have two separate events in the same object after receiving a message, they should both be under the same receive message.

      D 1 Reply Last reply
      0
      • Aidan_FireA Aidan_Fire

        @Deeeds I haven’t tried this, but maybe an object can only listen to a broadcasted message once. You shouldn’t be doing this anyway, if you have two separate events in the same object after receiving a message, they should both be under the same receive message.

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

        @Aidan-Oxley "should"...

        But imagine I want to turn one of them off, sometimes, and the other one always do thing.

        Speaking of "should"...

        This should work.

        It should be possible to "overload" message receipt.

        Aidan_FireA 1 Reply Last reply
        0
        • D Deeeds

          @Aidan-Oxley "should"...

          But imagine I want to turn one of them off, sometimes, and the other one always do thing.

          Speaking of "should"...

          This should work.

          It should be possible to "overload" message receipt.

          Aidan_FireA Offline
          Aidan_FireA Offline
          Aidan_Fire
          wrote on last edited by
          #4

          @Deeeds You want to turn one of the receivers off? Then instead of having two receivers, have one receiver with two Behaviour Bundles underneath, then turn on and off the behaviour bundle you want.

          D 1 Reply Last reply
          0
          • Aidan_FireA Aidan_Fire

            @Deeeds You want to turn one of the receivers off? Then instead of having two receivers, have one receiver with two Behaviour Bundles underneath, then turn on and off the behaviour bundle you want.

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

            @Aidan-Oxley I've already tried this. But Behaviour Bundles have a bit of a bug when it comes to passing through the received message to conditionals. They don't.

            Aidan_FireA 1 Reply Last reply
            0
            • D Deeeds

              @Aidan-Oxley I've already tried this. But Behaviour Bundles have a bit of a bug when it comes to passing through the received message to conditionals. They don't.

              Aidan_FireA Offline
              Aidan_FireA Offline
              Aidan_Fire
              wrote on last edited by
              #6

              @Deeeds That’s weird. Maybe you could try using Wait (zero seconds) instead of behaviour bundles?

              D 1 Reply Last reply
              0
              • Aidan_FireA Aidan_Fire

                @Deeeds That’s weird. Maybe you could try using Wait (zero seconds) instead of behaviour bundles?

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

                @Aidan-Oxley I've gone with messaging to a third party.

                When in doubt, I build a manager and send it messages. Seems to be both the safest and surest way. And slightly organised. That's my solution to this problem, too.

                1 Reply Last reply
                0
                • HamedH Offline
                  HamedH Offline
                  Hamed
                  Admin
                  wrote on last edited by
                  #8

                  Could there have been a space or anything like that? I don't think that we're doing any sanitizing on the text... we should though!

                  D 1 Reply Last reply
                  0
                  • HamedH Hamed

                    Could there have been a space or anything like that? I don't think that we're doing any sanitizing on the text... we should though!

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

                    @Hamed no, no space. I duplicated the receiver to ensure it was exactly the same.

                    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