How to know if a player is zombie
Posted: 02 October 2014, 22:54
Hi everyone!
I'm making a co-operative game, so the game can be played from one to infinite number of players. I made it from 1 to 6, anyways.
There are no player turns, but a team turn. The point is that I made a system of votes. While everyone may propose an action, or vote others or pass. The game is always in multiactiveplayer states (when it needs players actions). So the game can still work even if a player turns to zombie.
But in documentation only there is one function to know if the current player is zombie, and it doesnt work for multiactiveplayer states. I need to get zombie status for every player, just to make them pass all the time.
I'm making a co-operative game, so the game can be played from one to infinite number of players. I made it from 1 to 6, anyways.
There are no player turns, but a team turn. The point is that I made a system of votes. While everyone may propose an action, or vote others or pass. The game is always in multiactiveplayer states (when it needs players actions). So the game can still work even if a player turns to zombie.
But in documentation only there is one function to know if the current player is zombie, and it doesnt work for multiactiveplayer states. I need to get zombie status for every player, just to make them pass all the time.