9
3

SinkingSands.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : ZoneScripts/SinkingSands.lua
  3. Script Author : premierio015
  4. Script Date : 2023.12.15 09:12:09
  5. Script Purpose :
  6. :
  7. --]]
  8. local KallonsVengeance = 5938
  9. function player_entry(Zone, Player)
  10. end
  11. function init_zone_script(zone)
  12. SetLocationProximityFunction(zone, -437.17, -76.6709, -982.485, 5, "CarpetKeeper", "Leave") -- Twin Tears(from Port of Tears)
  13. SetLocationProximityFunction(zone, -1435.21, -227.165, -389.284, 5, "CarpetKeeper", "Leave") -- To Port of Tears(from Twin Tears)
  14. SetLocationProximityFunction(zone, -2015.96, -232.919, 602.109, 5, "CarpetKeeper", "Leave") -- To Onerock Isle( from Port of Tears)
  15. SetLocationProximityFunction(zone, -1435.4, -226.695, -374.085, 5, "CarpetKeeper", "Leave") -- To Port of Tears(from Undercity Arena)
  16. SetLocationProximityFunction(zone, -1457.96, -226.741, -399.553, 5, "CarpetKeeper", "Leave") -- To Port of Tears( from Onerock Isle)
  17. end
  18. function LeaveLocation(zone, Player)
  19. end
  20. function enter_location(zone, spawn, grid)
  21. end
  22. function leave_location(zone, spawn, grid)
  23. end
  24. function dawn(zone)
  25. end
  26. function dusk(zone)
  27. end
  28. function CarpetKeeper(zone, Spawn)
  29. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  30. EndAutoMount(Spawn)
  31. end
  32. end
  33. function Leave(zone, Spawn)
  34. end