DrEvil
FCRI Associate!
- Reaction score
- 111
What is the difference bewteen these 2 ?
Untitled Trigger 001
Events
Conditions
Actions
Set TempGroup = (Units in (Playable map area)((((Matching unit) is alive) Equal to True) and ((Unit-type of (Matching unit)) Equal to Lumbermill)))
Unit Group - Pick every unit in TempGroup and do (Actions)
Loop - Actions
Set TempPoint = (Target point of ability being cast)
Destructible - Pick every destructible within 256.00 of TempPoint 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 Tree
Then - Actions
Unit - Set the custom value of (Picked unit) to ((Custom value of (Picked unit)) + 1)
Else - Actions
Custom script: call RemoveLocation (udg_TempPoint)
Custom script: call DestroyGroup (udg_TempGroup)