SpasMaster
Hosted Project: SC
- Joined
- Jan 29, 2010
- Messages
- 1,986
Quick and simple, guys.
I wanna track the total gold acquired by a player. What's the math?
That's what I managed to come up with, but sadly it appears to track Current gold:
[trigger="Gold Acquired"]Gold Acquired
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Set Gold_Acquired = (Gold_Acquired + ((Player 1 (Red) Current gold) - Gold_Acquired))
Game - Display to (All players) the text: (String(Gold_Acquired))
[/trigger]
I wanna track the total gold acquired by a player. What's the math?
That's what I managed to come up with, but sadly it appears to track Current gold:
[trigger="Gold Acquired"]Gold Acquired
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
Set Gold_Acquired = (Gold_Acquired + ((Player 1 (Red) Current gold) - Gold_Acquired))
Game - Display to (All players) the text: (String(Gold_Acquired))
[/trigger]