ScriptEvent:getDeclIndex
From Mod Wiki
Contents
[hide]Parameters
integer type -- Index of the decl type. string name -- Name of the decl to look up.
Result
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.