|
Agro
Aug 1, 2019 4:43:35 GMT
Post by shadex on Aug 1, 2019 4:43:35 GMT
I'm trying to put in a Agro system with some custom ranged damage types. Currently i set the target on the AI to the player, though am having trouble getting the AI to chase the player. How do i force AI FSM to change to the Chase state via code? Since the player can hit from range, i would like it to override the detection range, and just have the enemy run to the player. It also seems i can't trigger chase from any state with a new set of conditions, as any -> chase already has a set of conditions. Any help would be appreciated.
|
|
|
Agro
Aug 1, 2019 18:22:57 GMT
Post by shadex on Aug 1, 2019 18:22:57 GMT
Never mind, think i figured it out
|
|
|
Agro
Aug 2, 2019 20:57:00 GMT
Post by Invector on Aug 2, 2019 20:57:00 GMT
The FSM will start by going through the Entry state to the default state, you can set the conditions from the default state for the chase instead of using the AnyState, but it should work either way
|
|