Historical signature: OfferQuest(npc, player, quest_id, forced)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: OfferQuest(npc, player, quest_id, forced)
Description:
NPC Offers the quest window or auto accept of the quest to the Player.
Parameters:
npc (Spawn) - Spawn object representing npc.
player (Spawn) - Spawn object representing player.
quest_id (uint32) - Integer value quest_id.
forced (int32) - Integer value forced.
Returns: None.
Checked example
Active call in a local runtime Lua script. The forced flag defaults to false. This is a contextual call pattern, not a tested standalone script.
OfferQuest(NPC,Spawn,5760)
Evidence: server/SpawnScripts/Baubbleshire/Leon.lua:100; binding EQ2Emu_lua_OfferQuest.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.