I've tried to find a guide or an example but theres nothing.
I want HTs to be able to cast psi storm on enemies they meet while attack-moving around the map. like medivacs are stopping their movement and start healing when they find a injured unit.
In addition I want the sentrie autocast the guardian shield as soon as it have an enemy in range, like the zealot charge.
any help or some basic advices on autocasts would be nice.
Open up the Psi Storm and/or Guardian Shield Ability and do the following:
Auto Cast Range > (Range of Ability)
Auto Cast Validators > Enemies Nearby, Have Energy (Or whatever its called)
Flags > Auto Cast, Auto Cast on, Re-executable, Require Target Vision, Smart
Range > (Range of Ability)
Try that. Mess around with the settings. You'll get it eventually. You might want to do it with triggers though.
Event > Any unit takes fatal damage or non fatal damage from (weapon of templar) (add one with 1 damage or something)
Local Variables > Unit = Templar(Unit), Attacker = Damaging Unit(Unit), Defender = Triggering Unit(Unit)
Conditions > Unit == Attacker
Actions > Environment - Create Psi Storm on Defender from Attacker
For the Shield. Just set. Takes damaged from ranged and and set Condition > Unit = Defender
You get the picture here.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've tried to find a guide or an example but theres nothing.
I want HTs to be able to cast psi storm on enemies they meet while attack-moving around the map. like medivacs are stopping their movement and start healing when they find a injured unit.
In addition I want the sentrie autocast the guardian shield as soon as it have an enemy in range, like the zealot charge.
any help or some basic advices on autocasts would be nice.
@b0ne123: Go
does nobody know how all this autocast stuff works? or how I change a target area to a target rnd unit spell.
Open up the Psi Storm and/or Guardian Shield Ability and do the following: Auto Cast Range > (Range of Ability) Auto Cast Validators > Enemies Nearby, Have Energy (Or whatever its called) Flags > Auto Cast, Auto Cast on, Re-executable, Require Target Vision, Smart Range > (Range of Ability)
Try that. Mess around with the settings. You'll get it eventually. You might want to do it with triggers though.
Event > Any unit takes fatal damage or non fatal damage from (weapon of templar) (add one with 1 damage or something) Local Variables > Unit = Templar(Unit), Attacker = Damaging Unit(Unit), Defender = Triggering Unit(Unit) Conditions > Unit == Attacker
Actions > Environment - Create Psi Storm on Defender from Attacker
For the Shield. Just set. Takes damaged from ranged and and set Condition > Unit = Defender You get the picture here.