- Joined
- Jan 5, 2009
- Messages
- 1,126
I don't know if strings leak or not? Can somebody please tell me?
Also does this trigger have any leaks?
Also does this trigger have any leaks?
-
Wood Gathering
-

Events
-


Time - Every 10.00 seconds of game time
-
-

Conditions
-

Actions
-


Set P_Unit = Portal 0017 <gen>
-


Set P_Point = (Position of P_Unit)
-


Destructible - Pick every destructible within 600.00 of P_Point and do (Actions)
-



Loop - Actions
-




Player - Add 10 to (Owner of P_Unit) Current lumber
-




Set P_Lumber_Total = (P_Lumber_Total + 10)
-
-
-


Set P_String = (Lumber Income: + (String(P_Lumber_Total)))
-


Game - Display to (All players) the text: P_String
-


Set P_Lumber_Total = 0
-


Custom script: call RemoveLocation(udg_P_Point)
-


Set P_String = <Empty String>
-
-






