Code:
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Player - Add goldincome[(Player number of (Player((Integer A))))] to (Player((Integer A))) Current gold
Player Group - Add (Player((Integer A))) to groupgold
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(goldhuts[(Integer A)] is alive) Equal to True
Then - Actions
Set [B]goldhutpoint[(Integer A)] [/B]= (Position of goldhuts[(Integer A)])
Floating Text - Create floating text that reads (|c00ffff00+ + (String(goldincome[(Integer A)]))) at [B]goldhutpoint[(Integer A)] [/B]with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Hide (Last created floating text) for (All players)
Floating Text - Show (Last created floating text) for groupgold
Floating Text - Set the velocity of (Last created floating text) to 90.00 towards 90.00 degrees
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the fading age of (Last created floating text) to 0.65 seconds
Floating Text - Change the lifespan of (Last created floating text) to 0.90 seconds
Custom script: call RemoveLocation[B](udg_goldhutpoint[GetForLoopIndexA()])[/B]
Else - Actions
Player Group - Remove all players from groupgold
Location variable has not been removed: goldhutpoint
Completed
Total amount of leaks: 0
Leak Rating: Excellent
Therefore, the leak checker cannot be 100% trusted? (I know,but, in this case?) Even I have zero errors in the trigger edior..ofc
Cheerio, +rep maybe...