- Joined
- Aug 31, 2009
- Messages
- 778
So what I'm trying to do is Pick Every Destructible in a Region and from each picked Destructible, check if there is an item on that Destructible or very near it (they are walkable).
So what I did is:
How can I remove these leaks? As there are no "Item Group" or "Desctructible Group" variables.
So what I did is:
-
Spawn
-

Events
-


Time - Every 15.00 seconds of game time
-
-

Conditions
-

Actions
-


Destructible - Pick every destructible in (Playable map area) and do (Actions)
-



Loop - Actions
-




Set temploc = (Position of (Picked destructible))
-




Set tempbool = False
-




Item - Pick every item in (Region centered at temploc with size (50.00, 50.00)) and do (Actions)
-





Loop - Actions
-






Set tempbool = True
-
-
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






tempbool Equal to True
-
-





Then - Actions
-






(Stuff)
-
-





Else - Actions
-






(Other stuff)
-
-
-
-
-


Custom script: call RemoveLocation(udg_temploc)
-
-
How can I remove these leaks? As there are no "Item Group" or "Desctructible Group" variables.

