9
3

KylongPlains.lua 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : ZoneScripts/KylongPlains.lua
  3. Script Purpose :
  4. Script Author : Neatz09
  5. Script Date : 6/5/2020
  6. Script Notes :
  7. --]]
  8. function init_zone_script(zone)
  9. SetLocationProximityFunction(zone, 1983.77, 480.44, -884.92, 5, "Sokokar", "Leave") -- Teren's (from Dreg's)
  10. SetLocationProximityFunction(zone, -805.30, 91.68, -1035.39, 5, "Sokokar", "Leave") -- Fens (from Dreg's)
  11. SetLocationProximityFunction(zone, -1261.21, 27.79, 449.58, 5, "Sokokar", "Leave") -- Kunzar's Edge (from Dreg's)
  12. SetLocationProximityFunction(zone, 1209.91, 119.35, -2133.57, 5, "Sokokar", "Leave") -- Highton (from Dreg's)
  13. SetLocationProximityFunction(zone, 1904.18, 158.08, -2542.92, 5, "Sokokar", "Leave") -- Jarsath (from Dreg's)
  14. SetLocationProximityFunction(zone, 898.862, 11.1332, 145.769, 5, "Sokokar", "Leave") -- Dreg's (from Kunzar's Edge)
  15. SetLocationProximityFunction(zone, -804.757, 91.6483, -1036.08, 5, "Sokokar", "Leave") -- Fens (from Kunzar's Edge)
  16. SetLocationProximityFunction(zone, 1969.1, 480.01, -883.66, 5, "Sokokar", "Leave") -- Teren's (from Kunzar's Edge)
  17. SetLocationProximityFunction(zone, 1904.18, 158.084, -2542.92, 5, "Sokokar", "Leave") -- Jarsath (from Kunzar's Edge)
  18. SetLocationProximityFunction(zone, 1209.91, 119.35, -2133.57, 5, "Sokokar", "Leave") -- Highton (from Kunzar's Edge)
  19. SetLocationProximityFunction(zone, 1985.59, 480.227, -884.243, 5, "Sokokar", "Leave") -- Teren's (from Fens)
  20. SetLocationProximityFunction(zone, 897.927, 10.699, 143.122, 5, "Sokokar", "Leave") -- Dreg's (from Fens)
  21. SetLocationProximityFunction(zone, -1260.85, 28.0256, 450.074, 5, "Sokokar", "Leave") -- Kunzar's Edge (from Fens)
  22. SetLocationProximityFunction(zone, 1904.18, 158.084, -2542.92, 5, "Sokokar", "Leave") -- Jarsath (from Fens)
  23. SetLocationProximityFunction(zone, 1209.91, 119.35, -2133.57, 5, "Sokokar", "Leave") -- Highton (from Fens)
  24. SetLocationProximityFunction(zone, 897.55, 10.07, 144.07, 5, "Sokokar", "Leave") -- Dreg's (from Teren's)
  25. SetLocationProximityFunction(zone, -805.51, 92.5658, -1035.55, 5, "Sokokar", "Leave") -- Fens (from Teren's)
  26. SetLocationProximityFunction(zone, 1210.86, 119.757, -2133.76, 5, "Sokokar", "Leave") -- Highton (from Teren's)
  27. SetLocationProximityFunction(zone, 1899.48, 155.92, -2537.43, 5, "Sokokar", "Leave") -- Jarsath (from Teren's)
  28. SetLocationProximityFunction(zone, 1984.72, 480.281, -885.051, 5, "Sokokar", "Leave") -- Teren's (from Highton)
  29. SetLocationProximityFunction(zone, 1904.18, 158.084, -2542.92, 5, "Sokokar", "Leave") -- Jarsath (from Highton)
  30. SetLocationProximityFunction(zone, 896.5, 10.21, 144.67, 5, "Sokokar", "Leave") -- Dreg's (from Highton)
  31. SetLocationProximityFunction(zone, -805.303, 91.6882, -1035.39, 5, "Sokokar", "Leave") -- Fens (from Highton)
  32. SetLocationProximityFunction(zone, -1261.21, 27.7938, 449.581, 5, "Sokokar", "Leave") -- Kunzar's Edge (from Highton)
  33. SetLocationProximityFunction(zone, 1211.19, 119.899, -2134.1, 5, "Sokokar", "Leave") -- Highton (from Jarsath)
  34. SetLocationProximityFunction(zone, 1968.71, 480.46, -894.16, 5, "Sokokar", "Leave") -- Teren's (from Jarsath)
  35. SetLocationProximityFunction(zone, -805.51, 92.5658, -1035.55, 5, "Sokokar", "Leave") -- Fens (from Jarsath)
  36. SetLocationProximityFunction(zone, -1261.21, 27.7938, 449.581, 5, "Sokokar", "Leave") -- Kunzar's Edge (from Jarsath)
  37. SetLocationProximityFunction(zone, 896.5, 10.21, 144.67, 5, "Sokokar", "Leave") -- Dreg's (from Jarsath)
  38. end
  39. function player_entry(zone, player)
  40. end
  41. function enter_location(zone, spawn, grid)
  42. end
  43. function leave_location(zone, spawn, grid)
  44. end
  45. function Sokokar(zone, Spawn)
  46. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  47. EndAutoMount(Spawn)
  48. end
  49. end
  50. function dawn(zone)
  51. end
  52. function dusk(zone)
  53. end