Lua functions

UpdateQuestZone

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

Historical signature: UpdateQuestZone(quest, zone)

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

Function: UpdateQuestZone(quest, zone)

Description: Update the quest's zone setting.

Parameters:

  • quest (Quest) - Quest object representing quest.
  • zone (Zone) - Zone object representing zone.

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.

UpdateQuestZone(Quest,"Caves")

Evidence: server/Quests/Baubbleshire/GatheringRockSamples.lua:24; binding EQ2Emu_lua_UpdateQuestZone.

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