- Joined
- Oct 11, 2009
- Messages
- 477
Do the "Floating Texts" of this trigger leaks? Anyway don't mind the other actions, I know they don't leak but I'm not sure about the floating texts.
Thanks in advance!!!
-
Resource System
-
Events
-
Time - Every 1.25 seconds of game time
-
-
Conditions
-
Actions
-
Set UpkeepPlayers[1] = (All players matching (((Matching player) Food used) Less than 51))
-
Player Group - Pick every player in UpkeepPlayers[1] and do (Actions)
-
Loop - Actions
-
Set Upkeep[(Player number of (Picked player))] = 1.00
-
Custom script: call DestroyForce(udg_UpkeepPlayers[1])
-
-
-
Set UpkeepPlayers[2] = (All players matching (((Matching player) Food used) Greater than 50))
-
Player Group - Pick every player in UpkeepPlayers[2] and do (Actions)
-
Loop - Actions
-
Set Upkeep[(Player number of (Picked player))] = 0.70
-
Custom script: call DestroyForce(udg_UpkeepPlayers[2])
-
-
-
Set UpkeepPlayers[3] = (All players matching (((Matching player) Food used) Greater than 80))
-
Player Group - Pick every player in UpkeepPlayers[3] and do (Actions)
-
Loop - Actions
-
Set Upkeep[(Player number of (Picked player))] = 0.40
-
Custom script: call DestroyForce(udg_UpkeepPlayers[3])
-
-
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Entire map) matching (((Matching unit) Not equal to BuildingUnderConstruction[(Custom value of (Matching unit))]) and (((((Matching unit) is alive) Equal to True) and (((Matching unit) is paused) Equal to False)) and (((Unit-type of (Matching unit) and do (Actions)
-
Loop - Actions
-
Player - Add (Integer((50.00 x Upkeep[(Player number of (Owner of (Picked unit)))]))) to (Owner of (Picked unit)) Current lumber
-
Floating Text - Create floating text that reads (+ + (String((Integer((50.00 x Upkeep[(Player number of (Owner of (Picked unit)))])))))) above (Picked unit) with Z offset 0.00, using font size 10.00, color (0.00%, 25.90%, 100.00%), and 0.00% transparency
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
-
Floating Text - Hide (Last created floating text) for (All players)
-
Floating Text - Show (Last created floating text) for (Player group((Owner of (Picked unit))))
-
-
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units in (Entire map) matching ((((Unit-type of (Matching unit)) Equal to ) or (((Unit-type of (Matching unit)) Equal to ) or (((Unit-type of (Matching unit)) Equal to ) or ((Unit-type of (Matching unit)) Equal to )))) and ((((Matching unit) is alive) Equal and do (Actions)
-
Loop - Actions
-
Player - Add (Integer((75.00 x Upkeep[(Player number of (Owner of (Picked unit)))]))) to (Owner of (Picked unit)) Current gold
-
Neutral Building - Add (Integer((-75.00 x Upkeep[(Player number of (Owner of (Picked unit)))]))) gold to (Picked unit)
-
Floating Text - Create floating text that reads (+ + (String((Integer((75.00 x Upkeep[(Player number of (Owner of (Picked unit)))])))))) above (Picked unit) with Z offset 0.00, using font size 10.00, color (100.00%, 80.00%, 0.00%), and 0.00% transparency
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Set the velocity of (Last created floating text) to 64.00 towards 90.00 degrees
-
Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 3.00 seconds
-
Floating Text - Hide (Last created floating text) for (All players)
-
Floating Text - Show (Last created floating text) for (Player group((Owner of (Picked unit))))
-
-
-
-
Thanks in advance!!!
