ScriptEvent:getObjectiveState

From Mod Wiki
Revision as of 16:50, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.