PillarsFlame.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : ZoneScripts/PillarsFlame.lua
  3. Script Purpose : <purpose>
  4. Script Author : Neatz09
  5. Script Date : 12/30/2019
  6. Script Notes : <special-instructions>
  7. --]]
  8. function init_zone_script(zone)
  9. SetLocationProximityFunction(zone, 714.656, -96.6399, -1029.2, 10, "CarpetKeeper", "Leave") -- Prophet's Peak(from Giant's Field) 738
  10. SetLocationProximityFunction(zone, 845.533, -150.512, -1343.64, 10, "CarpetKeeper", "Leave") -- Stinging Island (from Giant's Field) 740
  11. SetLocationProximityFunction(zone, 80.5403, -88.471, -771.693, 10, "CarpetKeeper", "Leave") -- Swift Riders (from Giant's Field) 732
  12. SetLocationProximityFunction(zone, 214.039, -126.872, -1477.36, 10, "CarpetKeeper", "Leave") -- T'Narev (from Giant's Field) 739
  13. SetLocationProximityFunction(zone, 1448.4, -119.097, -229.764, 10, "CarpetKeeper", "Leave") -- Giant's Field (from Prophet's Peak) 742
  14. SetLocationProximityFunction(zone, 845.533, -150.512, -1343.64, 10, "CarpetKeeper", "Leave") -- Stinging Island (from Prophet's Peak) 743
  15. SetLocationProximityFunction(zone, 71.9763, -86.5928, -763.891, 10, "CarpetKeeper", "Leave") -- Swift Rider's (from Prophet's Peak) 734
  16. SetLocationProximityFunction(zone, 214.039, -126.872, -1477.36, 10, "CarpetKeeper", "Leave") -- T'Narev (from Prophet's Peak) 741
  17. SetLocationProximityFunction(zone, 1448.4, -119.097, -229.764, 10, "CarpetKeeper", "Leave") -- Giant's Field (from Stinging Isle) 745
  18. SetLocationProximityFunction(zone, 714.656, -96.6399, -1029.2, 10, "CarpetKeeper", "Leave") -- Prophet's Peak (from Stinging Isle) 746
  19. SetLocationProximityFunction(zone, 77.0318, -87.6447, -768.03, 10, "CarpetKeeper", "Leave") -- Swift Riders (from Stinging Isle) 733
  20. SetLocationProximityFunction(zone, 214.039, -126.872, -1477.36, 10, "CarpetKeeper", "Leave") -- T'Narev (from Stinging Isle) 744
  21. SetLocationProximityFunction(zone, 1448.4, -119.097, -229.764, 10, "CarpetKeeper", "Leave") -- Giant's Field (from Swift Riders) 728
  22. SetLocationProximityFunction(zone, 714.656, -96.6399, -1029.2, 10, "CarpetKeeper", "Leave") -- Prophet's Peak (from Swift Riders) 730
  23. SetLocationProximityFunction(zone, 845.533, -150.512, -1343.64, 10, "CarpetKeeper", "Leave") -- Stinging Isle (from Swift Riders) 729
  24. SetLocationProximityFunction(zone, 214.039, -126.872, -1477.36, 10, "CarpetKeeper", "Leave") -- T'Narev (from Swift Riders) 727
  25. SetLocationProximityFunction(zone, 1448.4, -119.097, -229.764, 10, "CarpetKeeper", "Leave") -- Giant's Field (from T'Narev) 735
  26. SetLocationProximityFunction(zone, 714.656, -96.6399, -1029.2, 10, "CarpetKeeper", "Leave") -- Prophet's Peak (from T'Narev) 736
  27. SetLocationProximityFunction(zone, 845.533, -150.512, -1343.64, 10, "CarpetKeeper", "Leave") -- Stinging Isle (from T'Narev) 737
  28. SetLocationProximityFunction(zone, 78.3525, -87.5199, -758.376, 10, "CarpetKeeper", "Leave") -- Swift Riders (from T'Narev) 731
  29. end
  30. function player_entry(zone, player)
  31. end
  32. function enter_location(zone, spawn, grid)
  33. end
  34. function leave_location(zone, spawn, grid)
  35. end
  36. function dawn(zone)
  37. end
  38. function dusk(zone)
  39. end
  40. function CarpetKeeper(zone, Spawn)
  41. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  42. EndAutoMount(Spawn)
  43. end
  44. end
  45. function Leave(zone, Spawn)
  46. end