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. Store reference of object

Store reference of object

Scheduled Pinned Locked Moved Comments & Feedback
suggestion
5 Posts 2 Posters 807 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.
  • KamdroidK Offline
    KamdroidK Offline
    Kamdroid
    wrote on last edited by Kamdroid
    #1

    It would save me heaps of time if I could store a reference of an object (e.g, in Box Container, or attribute, as Box Container can only be constant...), which I could use in places where an object is needed.

    e.g., make a box container that stores a reference of the player object, so I can reference that in all my logic regarding the player object, and if I need to change player objects, I change it in one behaviour (the reference),

    Instead of going through each object and changing the selected object in all player behaviours.

    D 1 Reply Last reply
    1
    • KamdroidK Kamdroid

      It would save me heaps of time if I could store a reference of an object (e.g, in Box Container, or attribute, as Box Container can only be constant...), which I could use in places where an object is needed.

      e.g., make a box container that stores a reference of the player object, so I can reference that in all my logic regarding the player object, and if I need to change player objects, I change it in one behaviour (the reference),

      Instead of going through each object and changing the selected object in all player behaviours.

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

      @Kamdroid Actual variables, with names/ID that can be referenced would solve MANY problems and massively increase the capability of the engine and the productivity of those using it.

      Leaving out one of programming's greatest advantages is bizarre.

      KamdroidK 1 Reply Last reply
      0
      • D Deeeds

        @Kamdroid Actual variables, with names/ID that can be referenced would solve MANY problems and massively increase the capability of the engine and the productivity of those using it.

        Leaving out one of programming's greatest advantages is bizarre.

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

        @Deeeds I totally agree.

        The Box Container behaviour feels like a variable (except it should also let you select the type of variable, e.g. int or string),
        it’s just that they made it so it can only be set once, not sure why they would though.

        But I’d also like the option to type in the name of a variable rather than dragging in the “output” of a behaviour.

        D 1 Reply Last reply
        0
        • KamdroidK Kamdroid

          @Deeeds I totally agree.

          The Box Container behaviour feels like a variable (except it should also let you select the type of variable, e.g. int or string),
          it’s just that they made it so it can only be set once, not sure why they would though.

          But I’d also like the option to type in the name of a variable rather than dragging in the “output” of a behaviour.

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

          @Kamdroid There should be a drop down list for variables and broadcasts just like there is for picking attribute names, to avoid typos, etc.

          KamdroidK 1 Reply Last reply
          0
          • D Deeeds

            @Kamdroid There should be a drop down list for variables and broadcasts just like there is for picking attribute names, to avoid typos, etc.

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

            @Deeeds This. Totally forgot about listing stuff, would love to see this implemented.

            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