mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
583 B
583 B
Function: QuestReturnNPC(quest, spawn_id)
Description: Sets the return NPC point for a Quest when the quest has been completed.
Parameters:
quest(Quest) - Quest object representingquest.spawn_id(uint32) - Integer valuespawn_id.
Returns: None.
Example:
-- From Quests/Hallmark/archetype_selection.lua
function Init(Quest)
AddQuestStepChat(Quest, 1, "I need to talk to Garven Tralk", 1, "I need to talk to Garven Tralk", 11, 3250020)
AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
QuestReturnNPC(Quest, 3250020)
end