mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
541 B
541 B
Function: SetStepComplete(player, quest_id, step)
Description: Set the Quest step as complete.
Parameters:
player(Spawn) - Spawn object representingplayer.quest_id(uint32) - Integer valuequest_id.step(int32) - Integer valuestep.
Returns: None.
Example:
-- From ItemScripts/abixieeye.lua
function Step_Complete(Item, Player)
if HasItem(Player,1219,1) then
SetStepComplete(Player, LoreAndLegendBixie, 4)
CloseItemConversation(Item, Player)
RemoveItem(Player, 1219)
end