Lua functions

IsInvis

Registered in this checkout as EQ2Emu_lua_IsInvis; implementation found at WorldServer/Lua/LuaFunctions.cpp:7541.

Historical signature: IsInvis(spawn)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: IsInvis(spawn)

Description:

Return's true if the spawn is invisible, otherwise false.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: Return's true if the spawn is invisible, otherwise false.

Checked example

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  IsInvis(Spawn) then

Evidence: server/SpawnScripts/Caves/acuriousrock.lua:21; binding EQ2Emu_lua_IsInvis.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.