Use stops once MaxUseDistanceExceeded.

I have my melee item set to be used between a dustance of .75-1.5. However mid use if i were to move out of range (Dodge) the attack stops mid use. IS there a way to make it so if i were to dodge away from a attack mid attack the attack will still continue untill complete? I tried changing the MaxUseDist. whenever the 'use' ability is active but am unable to access the weopon stat parameters via state system.


Staff member
The MaxUseDistance is only used for determining when the item should start to be used, not when it is actively being used. My guess is that one of the Within Distance tasks is returning failure which then stops the task. To fix this you should see how the behavior tree is executing when this occurs and then can make some changes to the tree itself.