Lua functions

SetQuestFlags

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

Historical signature: SetQuestFlags(quest, flags)

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

Function: SetQuestFlags(quest, flags)

Description: Sets the quest flags for the quest object.

Parameters:

  • quest (Quest) - Quest object representing quest.
  • flags (uint32) - Integer value flags.

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.

SetQuestFlags(Quest, flags)

Evidence: server/Quests/EnchantedLands/HelpingSarmaSingebellows.lua:55; binding EQ2Emu_lua_SetQuestFlags.

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