Distributing Gold between all allied players, how?
Basically I need to distribute gold over all players that are still around.
So the trigger will be
Event: Player 6 gold greater than or equal to 5000
Condition: None
Action: ??? PLEASE HELP
I obviously don't want gold given to leavers or slots left blank, so yeah please help thanks.
Also, please remember to list the trigger type (unit, player, etc) and other details particularly categories and subcategories as this being my first time so deep into the editor, I haven't got a clue. Didn't understand half the threads here that would have helped...
The group "PlayersKingPlaying" represents the players on the team that are still playing, like the other guys did, but this one splits an amount of gold among the players.
Untitled Trigger 001
Events Conditions Actions
Set TempInteger = (5000 / (Number of players in PlayersKingPlaying)) Player Group - Pick every player in PlayersKingPlaying and do (Actions)
Loop - Actions
Player - Add TempInteger to (Picked player) Current gold
How do we create player group? Last time I tried a few wierd things came out. No such thing as create custom player group.
The add variable doesn't allow that either. At least I couldn't find a way to progress from the add variable part. I think its under variables right? Looks awfully familiar but can't progress.