Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ GOSSIP ]]--
- -- Changing a players phase when selecting a gossip option --
- function OnSelect(pUnit, Event, pPlayer, id, intid, code)
- if (intid == 1) then
- pPlayer:SetPhase(PHASEID)
- end
- end
- --[[ GOSSIP ]]--
- --[[ QUESTS ]]--
- -- Changing a players phase when he/she finishes a quest --
- function QuestFinished(event, pPlayer, questId, pMisc)
- if (questId == QUESTID) then
- pPlayer:PhaseSet(PHASEID)
- end
- end
- RegisterServerHook(22, "QuestFinished")
- --[[ QUESTS ]] --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement