Lua functions

InstructionWindowGoal

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

Historical signature: InstructionWindowGoal(player, goal_num)

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

Function: InstructionWindowGoal(player, goal_num)

Description: Set's the players instruction window goal number.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • goal_num (uint8) - Quantity goal_num.

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.

InstructionWindowGoal(player,0)

Evidence: server/SpawnScripts/FarJourneyFreeport/CaptainVarlos.lua:407; binding EQ2Emu_lua_InstructionWindowGoal.

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