Difference between revisions of "ScriptEvent:getDeclIndex"

From Mod Wiki
 
(No difference)

Latest revision as of 16:34, 5 November 2007

Parameters

integer type -- Index of the decl type.
string name -- Name of the decl to look up.

Result

integer

Supported By

sdSysCallThread

Comments

  • If either the type or name are invalid/cannot be found, the result will be -1.

Functionality

Returns the index of decl of the specified type and name.