9
3

Antonica.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 :
  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. SendPopUpMessage(player, "Antonica", 230, 230, 230)
  18. end
  19. function enter_location(zone, spawn, grid)
  20. end
  21. function leave_location(zone, spawn, grid)
  22. end
  23. function dawn(zone)
  24. end
  25. function dusk(zone)
  26. end
  27. function GriffonTower(zone, Spawn)
  28. if IsPlayer(Spawn) and IsOnAutoMount(Spawn) then
  29. EndAutoMount(Spawn)
  30. end
  31. end
  32. function Leave(zone, Spawn)
  33. end