ScarDoc

Start typing to search the SCAR reference.

Function
Player

Player_GetBuildingsCount

Returns the total number of buildings owned by this player.

On this page
Player_GetBuildingsCount(playerId)

Description

Returns the total number of buildings owned by this player.

Parameters

  • playerIdPlayerIDrequired

Returns

Integer

Source

Declared in the game's script sources at:

scar/player.scar