- Joined
- Mar 30, 2013
- Messages
- 337
Hi i want to help somebody with a skill. A shockwave that will destroy trees but i can't make this skill to work fine. Can somebody tell me want i need to change here? Thx +rep
-
Untitled Trigger 002
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Shockwave...
-
-
Actions
-
Set ShockwaveCasterPoint = (Position of (Triggering unit))
-
Set Distance = 100.00
-
For each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Set ShockwaveCasterPoint2 = (ShockwaveCasterPoint offset by Distance towards (Facing of (Triggering unit)) degrees)
-
Destructible - Pick every destructible within 125.00 of ShockwaveCasterPoint2 and do (Actions)
-
Loop - Actions
-
Destructible - Kill (Picked destructible)
-
Custom script: call RemoveLocation (udg_ShockwaveCasterPoint2)
-
-
-
Set Distance = (Distance + 100.00)
-
-
-
Custom script: call RemoveLocation (udg_ShockwaveCasterPoint)
-
-