Implemented Action with parameters?

NodeCanvas Forums General Discussion Implemented Action with parameters?

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

    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.

    #9082
    Gavalakis
    Keymaster

    Hey,

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

    Join us on Discord: https://discord.gg/97q2Rjh

    #9081
    Gavalakis
    Keymaster

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

    Cheers!

    Join us on Discord: https://discord.gg/97q2Rjh

    #9080
    zxc

    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.

    #9079
    Gavalakis
    Keymaster

    Hello,

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

    Join us on Discord: https://discord.gg/97q2Rjh

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