entity_object - Windower/packages GitHub Wiki

local entities = require('entities')

local entity_object = entities[123]

The entity_object is returned by the entities library primarily, as well as related libraries (like target). It is used to describes an in-game actor, which includes all PCs, NPCs, pets, trusts and monsters. The precise fields of this object are defined by the memory package, in the entity section of the types.lua file.