Zurtrogx
Active Member
- Reaction score
- 24
Which of the following is better to use? (ignore and leaks that may exist)
Option 1
Option 2
Option 1
Trigger:
- Set UnitGroup = (Units within 500.00 of Point matching this and that and this and that and this and that
- Unit Group - Pick every unit in UnitGroup and do (Actions)
- Loop - Actions
- Do whatever
- Loop - Actions
- Unit Group - Pick every unit in UnitGroup and do (Actions)
Option 2
Trigger:
- Set UnitGroup = (Units within 500.00 of Point)
- Unit Group - Pick every unit in UnitGroup and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Condition 1
- Condition 2
- Condition 3
- Then - Actions
- Do whatever
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit Group - Pick every unit in UnitGroup and do (Actions)