Lua functions

SetVisualFlag

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

Historical signature: SetVisualFlag(spawn)

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

Function: SetVisualFlag(spawn)

Description: Set the visual flag on the Spawn to initiate a update on the Spawns visual data.

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.

SetVisualFlag(NPC)

Evidence: server/SpawnScripts/Commonlands/BrandusLevine.lua:24; binding EQ2Emu_lua_SetVisualFlag.

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