Change behavior tree service interval externally?

VoidGoat
Sat, 24 Jun 2017 18:33:25 +0000
AI

I am trying to have an enemy fire a weapon every few seconds when a certain condition is met in the blackboard, but different enemies need to have different intervals for how often they fire their weapon.

Is there a way to change the interval of a service from outside the behavior tree or at runtime? Is there a better way to do this besides a service?

Thanks!

1 post - 1 participant