How to know if a player is zombie

Game development with Board Game Arena Studio
Post Reply
User avatar
adela82
Posts: 13
Joined: 05 November 2013, 13:46

How to know if a player is zombie

Post 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.
User avatar
adela82
Posts: 13
Joined: 05 November 2013, 13:46

[SOLVED] How to know if a player is zombie

Post by adela82 »

With loadPlayerInfos() you get an index "player_zombie". 1 for zombie, 0 for normal player... It should be in DOCª
Post Reply

Return to “Developers”