Lua functions

RemoveInvis

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

Historical signature: RemoveInvis(spawn)

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

Function: RemoveInvis(spawn)

Description: Remove invisible from the spawn. Spawn is optional, otherwise in a spell script applies to all spell targets.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: None.

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.

RemoveInvis(2)

Evidence: server/Spells/Mage/Enchanter/Illusionist/IllusoryMask.lua:20; binding EQ2Emu_lua_RemoveInvis.

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