• 0

    posted a message on How to save a hero to a variable

    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 ...

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.