Historical signature: SendOptionWindow(option_window, player, window_title, cancel_command)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SendOptionWindow(option_window, player, window_title, cancel_command)
Description:
Send a option window with the previous option window arguments.
Parameters:
option_window (OptionWindow) - OptionWindow object representing option_window.
player (Spawn) - Spawn object representing player.
window_title (string) - String window_title.
cancel_command (string) - String cancel_command.
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.
SendOptionWindow(window, Spawn, "Pledge allegiance to Qeynos?", "Cancel")
Evidence: server/SpawnScripts/IsleRefuge1/AmbassadorSaera.lua:160; binding EQ2Emu_lua_SendOptionWindow.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.