You only need to insert your QUESTID and the GO ID.Code:function QuestPortal_OnUse(Unit, Event, player) if player:HasFinishedQuest(QUESTID)== true then player:Teleport(mapid, x, y, z) else player:SendBroadcastMessage("Before you can use the portal you need to finish the quest:'QUESTNAME'.") end end RegisterGameObjectEvent(GAMOBJECTID, 4, "QuestPortal_OnUse")




LinkBack URL
About LinkBacks

Reply With Quote




(the npc would like look a portal)

Tho you wont have as much possibilitys you have with LUA



Bookmarks