9
3

Commonlands.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : ZoneScripts/Commonlands.lua
  3. Script Purpose :
  4. Script Author : Neatz09
  5. Script Date : 2/2/2019
  6. Script Notes :
  7. --]]
  8. function init_zone_script(zone)
  9. SetLocationProximityFunction(zone, 757.39, -31.98, -585.17, 10, "GriffonTower", "Leave") -- Nektulos (from Freeport)
  10. SetLocationProximityFunction(zone, -599.41, -33.73, -771.12, 10, "GriffonTower", "Leave") -- Freeport (from Nektulos)
  11. SetLocationProximityFunction(zone, 523.49, -33.40, 747.70, 10, "GriffonTower", "Leave") -- HiddenCanyon (from Freeport)
  12. SetLocationProximityFunction(zone, 534.17, -33.42, 757.78, 10, "GriffonTower", "Leave") -- HiddenCanyon (from Nektulos)
  13. SetLocationProximityFunction(zone, 771.67, -31.97, -588.20, 10, "GriffonTower", "Leave") -- Nektulos (from HiddenCanyon)
  14. SetLocationProximityFunction(zone, -597.07, -33.75, -758.43, 10, "GriffonTower", "Leave") -- Freeport (from HiddenCanyon)
  15. end
  16. function player_entry(zone, player)
  17. end
  18. function enter_location(zone, spawn, grid)
  19. end
  20. function leave_location(zone, spawn, grid)
  21. end
  22. function dawn(zone)
  23. end
  24. function dusk(zone)
  25. end
  26. function GriffonTower(zone, Spawn)
  27. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  28. EndAutoMount(Spawn)
  29. end
  30. end
  31. function Leave(zone, Spawn)
  32. end