- Joined
- Aug 20, 2004
- Messages
- 65
I'm trying to make a trigger that will kill trees around a unit with a certain buff. This is what I have so far.
-
Trail Trees
-
Events
- Time - Every 0.50 seconds of game time
- Conditions
-
Actions
- Set Temp_Group = (Units in (Playable map area) matching (((Matching unit) has buff Blazing A Trail ) Equal to True))
-
Unit Group - Pick every unit in Temp_Group and do (Actions)
-
Loop - Actions
-
Destructible - Pick every destructible within 256.00 of (Position of (Picked unit)) and do (Actions)
- Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Destructible-type of (Picked destructible)) Equal to Fall Tree Wall) or (((Destructible-type of (Picked destructible)) Equal to Northrend Tree Wall) or ((Destructible-type of (Picked destructible)) Equal to Dungeon Tree Wall))
-
Then - Actions
- Destructible - Kill (Picked destructible)
- Else - Actions
-
If - Conditions
-
Destructible - Pick every destructible within 256.00 of (Position of (Picked unit)) and do (Actions)
-
Loop - Actions
-
Events
Last edited by a moderator: