Trigger question

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 )
 

Sim

Forum Administrator
Staff member
Reaction score
534
As long as you don't wait in unit/player groups it's fine.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top