| 04-08-2003, 10:17 PM | #1 |
how would i do this? when a player leaves, split his gold even to all the other players still in the game. |
| 04-08-2003, 10:54 PM | #2 |
Event: Player leaves Cond: -- Action: -Set PlayerGold[X] (((X=player number of triggering player))) equal trigger players current gold. -Set Players equal all players in control of user. -Set Players = Players - 1 -Set PlayerGold[0] = PlayerGold[X] / Players -Player Add PlayerGold[0] to all players in control of user Done |
| 04-09-2003, 12:13 AM | #3 |
wow, thx. was that hard to figure out? now what is all the intigers? im guessing X and Player r intigers right? now that i know this, how could i do the same thing countunualy after the player leaves? like ever 5 min give the players gold that left to the other players. this would be a good adition to almost any map, expecialy DotA, AoS, games like those. |
