ScriptEvent:getObjectiveState

From Mod Wiki

Parameters

object team -- Team to return the state for.
integer index -- Index of the objective to get the state for.

Result

integer

Supported By

sdObjectiveManagerLocal

Comments

  • If the index is out of range, or the object passed is not a team, the result will be -1.

Functionality

Returns the state of the given objective, for the specified team.