9
3

OutpostOverlord.lua 749 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : ZoneScripts/OutpostOverlord.lua
  3. Script Purpose : Zone Scripts and Location Pop-ups
  4. Script Author : Cynnar
  5. Script Date : 9/16/2018
  6. Script Notes : <special-instructions>
  7. --]]
  8. local WelcomeToNorrath = 362
  9. local TheArtOfCombat = 132
  10. function init_zone_script(Zone)
  11. SetLocationProximityFunction(Zone, -13.41, -4.94, 220.74, 20, "OfferQuestLocation", "LeaveLocation")
  12. end
  13. function OfferQuestLocation (Zone, Player)
  14. if not HasQuest(Player, WelcomeToNorrath) and not HasCompletedQuest(Player, WelcomeToNorrath)
  15. and not HasQuest(Player, TheArtOfCombat) and not HasCompletedQuest(Player, TheArtOfCombat) then
  16. OfferQuest(nil, Player, WelcomeToNorrath)
  17. end
  18. end
  19. function LeaveLocation(Zone, Player)
  20. end