I have a hero selection sistem for 14 players but i want to save every created hero to its respective variable (i.e. PlayerHero[0] = Player 0's hero).
I came up with a system that runs a trigger every time a new hero is created and checks for the hero owner and then sets the variable to last created unit but aparently it doesn't work ...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello.
So here's what i want to do:
I have a hero selection sistem for 14 players but i want to save every created hero to its respective variable (i.e. PlayerHero[0] = Player 0's hero).
I came up with a system that runs a trigger every time a new hero is created and checks for the hero owner and then sets the variable to last created unit but aparently it doesn't work ...