integer index -- Index of the entityDef. string key -- Key to look up.
string
sdSysCallThread
Looks up the specified key from an entityDef.