Implemented Action with parameters?

Forums 💬 NodeCanvas 🗨️ General Discussion Implemented Action with parameters?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14791
    zxc
    Participant

      It seems strange, that I can’t launch an Implemented Action with parameters. That way I need to store additional variables in code, instead of just using Blackboard. I want an enemy to run to a given position and when he reaches it, he executes rest of the sequence.

      Currently what I must do is to store a destination in code and run an implemented action that uses variables (ie. goal to be reached) in code. I should be able to create an implemented action that takes its’ goal from blackboard.

      Otherwise I must create hacks like this: http://imgur.com/50cz9kn
      EDIT: and of course this hack doesn’t work – the check in the right branch of parallel is performed only once.

      #14795
      Gavalakis
      Keymaster

        Hey,

        I agree. I will add one parameter support for Implemented Action task in the next version 🙂

        #14794
        Gavalakis
        Keymaster

          The now submited version now takes 1 parameter in the Implemented Action Task 🙂

          Cheers!

          #14793
          zxc
          Participant

            Awesome, what’s the version number on it? When is it out?

            I have 1.5.9b (I downloaded “b”, though the editor says still 1.5.9) and Implemented Actions that have parameters still don’t appear in the Action Method selection box.

            #14792
            Gavalakis
            Keymaster

              Hello,

              It’s version 1.5.9c. It’s what is now online in the asset store 🙂

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.