- Reaction score
- 1,694
Like the title, I tried doing this for every golds added. They said they want the incomes to be in effect all the time (or the same moment a player's gold has been added) without showing the values which are greater than or equals to 100000.
Here's the trigger (Note that it's 100000 golds (5 zeros) for 1 lumber:
What else I'm missing? Thanks in advance.
Here's the trigger (Note that it's 100000 golds (5 zeros) for 1 lumber:
Code:
Incomes
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12, do (Game - Display to (Player group(Player[(Integer A)])) for 5.00 seconds the text: (|c00ffcc00Income: |cffffcc00 + (String(kills[(Integer A)]))))
For each (Integer A) from 1 to 12, do (Player - Add kills[(Integer A)] to Player[(Integer A)] Current gold)
For each (Integer A) from 1 to 12, do (If ((Player[(Integer A)] Current gold) Greater than or equal to 100000) then do (Player - Add 1 to Player[(Integer A)] Current lumber) else do (Do nothing))
For each (Integer A) from 1 to 12, do (If ((Player[(Integer A)] Current gold) Greater than or equal to 100000) then do (Player - Add -100000 to Player[(Integer A)] Current gold) else do (Do nothing))
What else I'm missing? Thanks in advance.