Function: IsEntity(spawn)
Description: Return's true if the Spawn is an entity (Player/NPC/Bot).
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: True if the spawn is an entity, otherwise false.
IsEntityRegistered in this checkout as EQ2Emu_lua_IsEntity; implementation found at WorldServer/Lua/LuaFunctions.cpp:12042.
Historical signature: IsEntity(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Return's true if the Spawn is an entity (Player/NPC/Bot).
Parameters:
spawn (Spawn) - Spawn object representing spawn.Returns: True if the spawn is an entity, otherwise false.
Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.
if target ~= nil and IsEntity(target) then
Evidence: server/ItemScripts/LaserGoggles.lua:10; binding EQ2Emu_lua_IsEntity.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.