How can I set walk speed in Behavior Tree Task?

Hi All,

I’m having a little diffuculty changing the player walk speed in a behavior tree task. I am basically letting my AI randomly walk aroud, if he sees a tarket I want him to run to it, if he loses it I want him to continue walking.

I assumed a couple of custom tasks could have done this but I am having difficulty getting the task to work as I want. When the behavior tree reaches this task it just sits (doesn’t continue along the sequence in the tree) on it and my AI stops moving.

Any Ideas?

Bump as I really need this sorting, it is holding up the progress of my project.

Am I maybe going about this the wrong way (is there a better method to acomplish this?)