Highgold.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : Highgold.lua
  3. Script Purpose : Waypoint Path for Highgold.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 08:13:18 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  11. waypoints(NPC)
  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 hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. GenericGuardHail(NPC, Spawn)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  25. MovementLoopAddLocation(NPC, 708.6, -20.89, -66.2, 2, 2)
  26. MovementLoopAddLocation(NPC, 698.37, -20.64, -15.85, 2, 5)
  27. MovementLoopAddLocation(NPC, 739.96, -21.2, -14.13, 2, 8)
  28. MovementLoopAddLocation(NPC, 755.77, -20.81, 7.22, 2, 1)
  29. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  30. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  31. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 12)
  32. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  33. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  34. MovementLoopAddLocation(NPC, 676.46, -20.65, -124.59, 2, 17)
  35. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  36. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  37. MovementLoopAddLocation(NPC, 793.71 -21.05 -58.65, 2, 9)
  38. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  39. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  40. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 0)
  41. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 0)
  42. MovementLoopAddLocation(NPC, 698.37, -20.64, -15.85, 2, 0)
  43. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 0)
  44. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  45. end