Skip to content

EntityTableGet

14.24

Class Documentation

Edit documentation

A getter that reads a script variable that holds an entity id. The variable must hold an Entity value. Otherwise, or if the variable does not exist, the getter fails with a script error. See ScriptTableGet for Table and Var.

Read as an entity, the getter returns the live game entity with that id. Read as a driver source (see ILogicDriverSourceGet), it returns the same entity, and fails if no live entity has the id.