Lua functions

SetInfoFlag

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

Historical signature: SetInfoFlag(spawn)

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

Function: SetInfoFlag(spawn)

Description: Enables the info flag to trigger a spawn update.

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.

SetInfoFlag(NPC)

Evidence: server/SpawnScripts/Commonlands/BrandusLevine.lua:23; binding EQ2Emu_lua_SetInfoFlag.

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