Hello guys 
I want to implent a system into my map that should achieve the following: at the start of the game the players can chose a unit from a tavern/building. (that part shouldn't be that hard I believe)
The other thing is after the player's unit, he should be able to pick a new unit from the tavern/building like in the beginning . I want him only to be allowed to pick a new unit after his current unit died. (In other words: a player should only be allowed to own max. 1 unit at a time. (and preferably with a short "respawn cooldown" so he can't immediatly pick something and has to wait a few seconds before he can chose again)
I guess this isn't really hard to implement, but I would greatly appreciate some ideas, since I don't know how to do the part with the "after someone dies he can pick a new unit".
Thank you in advance
I want to implent a system into my map that should achieve the following: at the start of the game the players can chose a unit from a tavern/building. (that part shouldn't be that hard I believe)
The other thing is after the player's unit, he should be able to pick a new unit from the tavern/building like in the beginning . I want him only to be allowed to pick a new unit after his current unit died. (In other words: a player should only be allowed to own max. 1 unit at a time. (and preferably with a short "respawn cooldown" so he can't immediatly pick something and has to wait a few seconds before he can chose again)
I guess this isn't really hard to implement, but I would greatly appreciate some ideas, since I don't know how to do the part with the "after someone dies he can pick a new unit".
Thank you in advance





