Behavior Tree Wait task change time runtime?

anon72431819
Mon, 31 Aug 2015 02:51:36 +0000
AI

Hi I have a simple AI that I want to control the attack speed of an enemy unit. Basically giving him some extra time when he has a debuff. But I was wondering if it is possible to change the Wait Task “Wait Time” during runtime? I was wondering If I need to do it in c++ by making a child class wait time and setting it up by myself? Or if it’s a better way to do it in blueprint.

I kind of made it work with a service where in code I can change the Interval time but when doing it in the Behavior Tree the time is almost double to what I set.

Any help would be greatly appreciated.
Regards

3 posts - 1 participant