- Joined
- Dec 6, 2007
- Messages
- 233
I have a trigger that makes an artillery cannon fire at a point.
Supposedly, the artillery will target the dummy unit. but the dummy unit, for some reason, keeps spawning in the center of playable map area. The "target" ability is based off shock wave. Any ideas on why the dummy unit won't go to target point of ability being cast?
-
Artillery
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Target
-
Actions
- Unit - Order (Triggering unit) to Stop
- Unit - Create 1 Artillery target for Neutral Passive at (Target point of ability being cast) facing Default building facing degrees
- Set Artillery_target = (Last created unit)
- Wait 5.00 seconds
- Unit - Change ownership of Artillery to (Owner of (Triggering unit)) and Retain color
- Unit - Order Artillery to Neutral Tinker - Cluster Rockets (Position of Artillery_target)
- Wait 1.50 seconds
- Unit - Change ownership of Artillery to Neutral Passive and Retain color
- Unit - Kill Artillery_target
-
Events
Supposedly, the artillery will target the dummy unit. but the dummy unit, for some reason, keeps spawning in the center of playable map area. The "target" ability is based off shock wave. Any ideas on why the dummy unit won't go to target point of ability being cast?