Lua functions

IsStealthed

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

Historical signature: IsStealthed(spawn)

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

Function: IsStealthed(spawn)

Description:

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

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: Return's true if the spawn is stealthed, 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 IsStealthed(Spawn)  then

Evidence: server/SpawnScripts/Caves/acuriousrock.lua:18; binding EQ2Emu_lua_IsStealthed.

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