logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Modify Behavior: Execute Behavior and Behavior On

    Scheduled Pinned Locked Moved
    Comments & Feedback
    3
    3
    440
    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.
    • T
      Thecheater887
      last edited by Thecheater887

      I would like to suggest that you modify Execute Behavior to Execute a Behavior and children. Allow data to be passed into the Execute Behavior as, say, a dictionary. Add a “communicate” behavior that would tell the Execute Behavior, say, a dictionary, which could then be used further down the path of ‘parent’ behaviors.

      I’m well aware of how many dead horses I’m beating (it’s what I’m good at!), however, from my perspective, it would redneck the functions functionality into existence, since the current “Execute Behavior” is redundant in terms of its’ brother Behavior On. (I’m fairly certain that was a clarity addition, but I could be wrong about that.)

      KamdroidK Jack8680J 2 Replies Last reply Reply Quote 0
      • KamdroidK
        Kamdroid @Thecheater887
        last edited by

        @thecheater887 They need to make something called Functions. This is what should let you pass in parameters like every programming language does.

        As for now, I use the Broadcast and Recieve behaviours to pass in an array of parameters.

        1 Reply Last reply Reply Quote 1
        • Jack8680J
          Jack8680 @Thecheater887
          last edited by Jack8680

          @thecheater887 I think the difference between behaviour on and execute behaviour is that execute behaviour won't run the behaviour if it is off.

          Like Kamdroid said, broadcast and receive are similar to what you're suggesting, allowing you to send an array or dictionary and use it in child behaviours.

          Edit: fixed typo.

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