Difference between revisions of "ScriptEvent:getObjectiveState"

From Mod Wiki
 
(No difference)

Latest revision as of 16:50, 5 November 2007

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.