- Joined
- Feb 23, 2007
- Messages
- 444
Im having trouble with a trigger.
What i want is when you press an ability it the unit deals damage, in line with its facing angle, to enemy units.
I dont want to have to select a target though, like shockwave or something.
I have tried something like this but it does not work (also it does not incorporate facing angle and what not):
What i want is when you press an ability it the unit deals damage, in line with its facing angle, to enemy units.
I dont want to have to select a target though, like shockwave or something.
I have tried something like this but it does not work (also it does not incorporate facing angle and what not):
-
strike air
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Strike air
-
Actions
-
Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units owned by (Matching player)) and do (Actions)
-
Loop - Actions
- Unit - Cause Player1Unit to damage (Picked unit), dealing 500.00 damage of attack type Normal and damage type Normal
-
Loop - Actions
-
Unit Group - Pick every unit in (Units owned by (Matching player)) and do (Actions)
-
Loop - Actions
-
Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
-
Events