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. Broadcast message from a scene to an overlay possible?

Broadcast message from a scene to an overlay possible?

Scheduled Pinned Locked Moved Help and Support
12 Posts 2 Posters 74 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.
  • MrAeon1111M Offline
    MrAeon1111M Offline
    MrAeon1111
    wrote last edited by
    #1

    Hello,
    Is it possible to broadcast a message from a scene to an overlay dictionary? Any tips and tricks?

    1 Reply Last reply
    1
    • MrAeon1111M Offline
      MrAeon1111M Offline
      MrAeon1111
      wrote last edited by MrAeon1111
      #2

      When I broadcast my message with an object ID to a dictionary on an overlay.
      How do I make the link between the object ID and the modify dictionary?
      Is it really working? Are there any restrictions?

      1 Reply Last reply
      1
      • RobinsonXR Offline
        RobinsonXR Offline
        RobinsonX
        wrote last edited by
        #3

        Broadcasting from the scene to an overlay is possible - it also works the other way round. Though I'm not sure what you mean by overlay dictionary. What are you trying to achieve and can you send screenshots?

        1 Reply Last reply
        0
        • MrAeon1111M Offline
          MrAeon1111M Offline
          MrAeon1111
          wrote last edited by
          #4

          I meant a dictionary or an array that is on an overlay.
          I was wondering if there was some restriction about overlays.
          But it’s cool if you say that it works I will find a way to do so

          1 Reply Last reply
          0
          • RobinsonXR Offline
            RobinsonXR Offline
            RobinsonX
            wrote last edited by
            #5

            Here is a working demo: https://bit.ly/4c2S5fd

            One restriction is that objects cannot interact with each other across scenes and overlays. If a scene retrieves an object ID from the overlay, it won't be able to reference that object. It can only reference objects from the same scene/overlay.

            1 Reply Last reply
            0
            • MrAeon1111M Offline
              MrAeon1111M Offline
              MrAeon1111
              wrote last edited by
              #6

              How do you make an inventory then?
              An inventory should be able to work in every scene. And it could be put on an overlay how do you manage that?

              1 Reply Last reply
              0
              • MrAeon1111M Offline
                MrAeon1111M Offline
                MrAeon1111
                wrote last edited by
                #7

                So broadcast and receive…
                And I can have my inventory on overlay.
                Is there not a problem when you close the overlay and you open it again?
                It’s like nothing works anymore..

                1 Reply Last reply
                0
                • RobinsonXR Offline
                  RobinsonXR Offline
                  RobinsonX
                  wrote last edited by
                  #8

                  Something like an inventory should be on the Global UI layer - Global UI layer is shared across all scenes, and you can easily reference the objects in the behaviors.

                  Overlays are used for temporary things like custom popups and alerts. You also can't interact with the scene when an overlay is present, and it also resets when closed.

                  1 Reply Last reply
                  0
                  • RobinsonXR Offline
                    RobinsonXR Offline
                    RobinsonX
                    wrote last edited by
                    #9

                    It's not impossible to make an inventory on an overlay - it's just tedious because of those limitations.

                    1 Reply Last reply
                    0
                    • MrAeon1111M Offline
                      MrAeon1111M Offline
                      MrAeon1111
                      wrote last edited by
                      #10

                      Okay, it’s pretty clear now. I understand.
                      Why you didn’t work.
                      Thanks, man

                      1 Reply Last reply
                      0
                      • RobinsonXR Offline
                        RobinsonXR Offline
                        RobinsonX
                        wrote last edited by
                        #11

                        No problem! You could also hide or show the objects anytime using the Set Visibility behavior, so it doesn't need to be visible all the time.

                        1 Reply Last reply
                        0
                        • MrAeon1111M Offline
                          MrAeon1111M Offline
                          MrAeon1111
                          wrote last edited by
                          #12

                          You mean having the inventory always loaded, but visibility turned off.
                          I need to try that

                          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