aiUseTime "OnlyWhenManyTargetsHaveHullDamage"

Is there a version where the AI will trigger even if only one target has hull damage? Or anyway to change what the AI considers to be 'Many Targets' and 'Hull Damage'?
3,204 views 1 replies
Reply #1 Top
You could try the following in your Ability.entity file:

1) add in a constraint in the filter that says constraint "HasHullDamage", don't forget to increase your numConstraints for it.

2) set your aiUseTime to "Anytime"

3) set your aiUseTargetCondition to "HullDamageExceedsAmount". Then add the following just below this:

onlyAutoCastWhenTargetHullDamageExceedsAmount
Level:0 150.000000
Level:1 0.000000
Level:2 0.000000




What this basically does is to tell the ai to use the ability whenever it sees a potential target that has taken more than 150 hull damage. Hope this helps.