So I came across a lil situation where my AI would use Wind Walk then run away and heal which was fine. But then when they got high enough level they would attack again whilst still being invisible.
So I tried to add a trigger that makes them attack a nearby hero if they come across one but the trigger works and they go to a hero but don't attack it. And instead just stand there invisible like some kind of stalker. Then they come out of wind walk and get killed most of the time!
I was wondering if there was a specific command I had to make them use but I couldn't find one. Any help?
So I tried to add a trigger that makes them attack a nearby hero if they come across one but the trigger works and they go to a hero but don't attack it. And instead just stand there invisible like some kind of stalker. Then they come out of wind walk and get killed most of the time!
I was wondering if there was a specific command I had to make them use but I couldn't find one. Any help?
-
AI Cast Wind Walk Backstab
- Events
- Conditions
-
Actions
- Set AINearbyTargets = (Units within 3000.00 of TempPoint matching ((((Matching unit) is A Hero) Equal to True) and ((((Matching unit) is alive) Equal to True) and (((Owner of (Matching unit)) is an enemy of AITempPlayer) Equal to True))))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Number of units in AINearbyTargets) Greater than or equal to 1
-
Then - Actions
- Set AICastPoint = (Position of AIHeroUnit)
- Unit - Order AIHeroUnit to Attack (Random unit from AINearbyTargets)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (AIHeroUnit is in AIWantSpell) Equal to False
-
Then - Actions
- Unit Group - Add AIHeroUnit to AIWantSpell
- Else - Actions
-
If - Conditions
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (AIHeroUnit is in AIWantSpell) Equal to True
-
Then - Actions
- Unit Group - Remove AIHeroUnit from AIWantSpell
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions