Skip to content

GetFreePlayerAmmount

This method returns the amount of playerdata that are considered free. It belongs to MainManager.

public static int GetFreePlayerAmmount()
public static int GetFreePlayerAmmount(bool hponly)

This amount includes all player party members have the following criteria:

However, if hponly is true, only the hp check above is done. The only time true is sent is from AdvanceMainTurn when setting availableplayers to decide if DeadParty needs to be called after advancing each player party member's actor turns.