R
runhide
Guest
I forget is it ok to put a loop in a multiple actions like this?
PHP:
Fix stopped attackers
Events
Time - Every 35.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Set TempUnitGroup = (Units in PlayerArea[(Integer A)] owned by Neutral Passive)
Set TempPoint = (Center of PlayerEnd[(Integer A)])
Unit Group - Pick every unit in TempUnitGroup and do (Actions)
Loop - Actions
Unit - Remove All buffs from (Picked unit)
AI - Ignore (Picked unit)'s guard position
Unit - Order (Picked unit) to Attack-Move To TempPoint
Custom script: call RemoveLocation( udg_TempPoint )
Custom script: call DestroyGroup ( udg_TempUnitGroup )