Is this trigger leak free?

Status
Not open for further replies.
Level 5
Joined
Mar 17, 2005
Messages
135
  • Players Not Here
    • Events
      • Time - Elapsed game time is 0.01 seconds
    • Conditions
    • Actions
      • Set Temp_Group = (Units in (Playable map area))
      • Unit Group - Pick every unit in Temp_Group and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Owner of (Picked unit)) slot status) Not equal to Is playing
            • Then - Actions
              • Unit - Remove (Picked unit) from the game
            • Else - Actions
              • Do nothing
      • Custom script: call DestroyGroup (udg_Temp_Group)
 
No leaks, but you should make your event each 0.03, will be less laggy. Also remove the Do Nothing action.
 
Status
Not open for further replies.
Back
Top