Antonica.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : antonica.lua
  3. Script Purpose : Handles events in Antonica
  4. Script Author : Jabantiz/neatz09
  5. Script Date : 6/16/2016/ 2/23/19
  6. Script Notes : <special-instructions>
  7. --]]
  8. function init_zone_script(zone)
  9. SetLocationProximityFunction(zone, -2128.93, -28.4328, 614.081, 10, "GriffonTower", "Leave") -- Steppes from Qeynos
  10. SetLocationProximityFunction(zone, -904.472, -7.23051, -610.321, 10, "GriffonTower", "Leave") -- Oracle from Qeynos
  11. SetLocationProximityFunction(zone, 337.246, -17.3142, 537.882, 10, "GriffonTower", "Leave") -- Qeynos from Steppes
  12. SetLocationProximityFunction(zone, -912.659, -7.21881, -599.911, 10, "GriffonTower", "Leave") -- Oracle from Steppes
  13. SetLocationProximityFunction(zone, 327.727, -17.3058, 529.95, 10, "GriffonTower", "Leave") -- Qeynos from Oracle
  14. SetLocationProximityFunction(zone, -2136.6, -28.5276, 608.087, 10, "GriffonTower", "Leave") -- Steppese from oracle
  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