ScriptEvent:getEntityDefFloatKey

From Mod Wiki

Parameters

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

Result

float

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 a float.