Lua API Reference: Entity (25 methods)

Browse the complete Lua API documentation for the Entity class. Search through 25 methods and 247 events to find the exact function signatures, parameters, and usage examples you need for your EQ-Emulator scripts.

Methods

entity:CastToBot() # Lua_Bot
entity:CastToClient() # Lua_Client
entity:CastToCorpse() # Lua_Corpse
entity:CastToDoor() # Lua_Door
entity:CastToMerc() # Lua_Merc
entity:CastToMob() # Lua_Mob
entity:CastToNPC() # Lua_NPC
entity:CastToObject() # Lua_Object
entity:GetID() # int
entity:IsAura() # bool
entity:IsBeacon() # bool
entity:IsBot() # bool
entity:IsClient() # bool
entity:IsCorpse() # bool
entity:IsDoor() # bool
entity:IsEncounter() # bool
entity:IsMerc() # bool
entity:IsMob() # bool
entity:IsNPC() # bool
entity:IsNPCCorpse() # bool
entity:IsObject() # bool
entity:IsOfClientBot() # bool
entity:IsOfClientBotMerc() # bool
entity:IsPlayerCorpse() # bool
entity:IsTrap() # bool