ScriptEvent:getEntityByID

From Mod Wiki

Parameters

string key -- Key to look up the entity with.

Result

entity

Supported By

sdSysCallThread

Comments

  • If the entity no longer exists, or the key is not valid, the result will be null.

Functionality

Returns an entity from a key previously given by a call to getSpawnID.