(info) Other great resources: Official JS API docs, Scripting Forum

getStructureLimit()

Determine the structure limits for a given type of structure...

 

Syntax

var limit = getStructureLimit(structureID[, player]);

Parameters

ParameterTypeMandatoryNotesGame Version
structureIDString(tick)The ID of the structure to check.3.1.0
playerNumber(error)

The ID of the player to determine limits for.

Default: me

3.1.0

Return values

ValueTypeNotesGame Version
<limit>NumberThe limit set for the structure.3.1.0
<error>ErrorInvalid parameters specified or structure/player not found.3.1.0

Example

Availability 3.1.0+

Requires:

  • Warzone 3.1.0
Contents

Jump to:

See also

Related articles: