Skip to content

Player:GetCivilizationId

Read civilization id for this player.

player:GetCivilizationId()

Inputs: None beyond the Player receiver.

Output: Integer. Civilization ID.

Errors and unavailable states: A wrong receiver can raise a Lua argument error. No separate error result is returned. Query live state again when the entity may have changed.

See Lua values and game objects for lifetime and enum guidance.