Difference between revisions of "ScriptEvent:getEntityDefFloatKey"

From Mod Wiki
 
(No difference)

Latest revision as of 16:37, 5 November 2007

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.