Page 1 of 1

How to know if a player is zombie

Posted: 02 October 2014, 22:54
by adela82
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.

[SOLVED] How to know if a player is zombie

Posted: 02 October 2014, 22:58
by adela82
With loadPlayerInfos() you get an index "player_zombie". 1 for zombie, 0 for normal player... It should be in DOCÂȘ