Other great resources: Official JS API docs, Scripting Forum

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 STABLE

Requires:

  • Warzone 3.1.0
Contents

Jump to:

See also

Related articles:

 

  • No labels