9
3

Warland.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : Warland.lua
  3. Script Purpose : Waypoint Path for Warland.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 10:30:14 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function InRange(NPC, Spawn)
  17. CheckFaction(NPC, Spawn, "Qeynos")
  18. end
  19. function LeaveRange(NPC, Spawn)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. GenericGuardHail(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, 705.82, -20.64, -22.54, 2, 0)
  30. MovementLoopAddLocation(NPC, 740.93, -21.44, -22.18, 2, 0)
  31. MovementLoopAddLocation(NPC, 757.61, -20.88, -35.3, 2, 0)
  32. MovementLoopAddLocation(NPC, 764.83, -21.84, -55.37, 2, 0)
  33. MovementLoopAddLocation(NPC, 727.1, -21.24, -63.05, 2, 0)
  34. MovementLoopAddLocation(NPC, 710.11, -21.06, -83.53, 2, 20)
  35. MovementLoopAddLocation(NPC, 727.1, -21.24, -63.05, 2, 0)
  36. MovementLoopAddLocation(NPC, 764.83, -21.84, -55.37, 2, 0)
  37. MovementLoopAddLocation(NPC, 757.61, -20.88, -35.3, 2, 0)
  38. MovementLoopAddLocation(NPC, 740.93, -21.44, -22.18, 2, 0)
  39. MovementLoopAddLocation(NPC, 705.82, -20.64, -22.54, 2, 0)
  40. end