ScriptEvent:getEntityDefIntKey

From Mod Wiki

Parameters

integer index -- Index of the entityDef.
string key -- Key to look up.

Result

integer

Supported By

sdSysCallThread

Comments

  • If the entityDef is invalid, or the value cannot be converted, the result will be 0.

Functionality

Looks up the specified key from an entityDef and converts it to an integer.