Why StopAbilityDelay be ignored when InputIndex is Zero

filod

Member
I meant to use StopAbilityDelay as AI-agent's attack backswing, but the StopAbilityDelay never was used if StartType is set to Manual (which set InputIndex to 0) (typo here, -1 actually)
1638258059913.png
1638258135519.png
this is really confusing..... why and how to solve this?

my own solution is this (don't know if it's right):
1638262536276.png
 
Last edited:
Are you changing the Start/Stop type to an input value? With a manual start/stop type the InputIndex should always be -1.
 
Are you changing the Start/Stop type to an input value? With a manual start/stop type the InputIndex should always be -1.
yes i know that (i made a typo above), but why is that? and also, should i use input value for ai agent?
 
The input index is -1 with a manual start type because there is no input starting the ability. You should not need an input for AI agents.
 
The input index is -1 with a manual start type because there is no input starting the ability. You should not need an input for AI agents.
of course, so i give AI-agents manual start type, and as this thread said:

StopAbilityDelay is ignored​


i wander Why and Is my own fix the right way.
 
I will do some tests and get back to you on the code change. Thanks for letting me know :)
 
Top