percivous.lua 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : percivous.lua
  3. Script Purpose : Waypoint Path for percivous.lua
  4. Script Author : Devn00b
  5. Script Date : 04/10/2020 01:16:00 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 5, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 664.3, -21.16, 100.37, 2, 0)
  25. MovementLoopAddLocation(NPC, 668.74, -21.28, 142.24, 2, 0)
  26. MovementLoopAddLocation(NPC, 705.64, -19.45, 178.15, 2, 0)
  27. MovementLoopAddLocation(NPC, 704.05, -19.53, 192.48, 2, 0)
  28. MovementLoopAddLocation(NPC, 689.56, -19.52, 197.06, 2, 0)
  29. MovementLoopAddLocation(NPC, 677.25, -19.28, 185.9, 2, 0)
  30. MovementLoopAddLocation(NPC, 623.79, -16.71, 198.71, 2, 0)
  31. MovementLoopAddLocation(NPC, 576.8, -15.87, 207.63, 2, 0)
  32. MovementLoopAddLocation(NPC, 546.29, -15.38, 210.3, 2, 0)
  33. MovementLoopAddLocation(NPC, 546.39, -10.53, 153.1, 2, 0)
  34. MovementLoopAddLocation(NPC, 612.56, -12.22, 144.86, 2, 2)
  35. MovementLoopAddLocation(NPC, 612.56, -12.22, 144.86, 2, 6,"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 546.79, -10.16, 149.02, 2, 0)
  37. MovementLoopAddLocation(NPC, 502.93, -11.34, 142.12, 2, 0)
  38. MovementLoopAddLocation(NPC, 469.59, -11.52, 133.6, 2, 3)
  39. MovementLoopAddLocation(NPC, 492.66, -12.73, 149.14, 2, 0)
  40. MovementLoopAddLocation(NPC, 469.59, -11.52, 133.6, 2, 2)
  41. MovementLoopAddLocation(NPC, 469.59, -11.52, 133.6, 2, 8,"EcologyEmotes")
  42. MovementLoopAddLocation(NPC, 502.93, -11.34, 142.12, 2, 0)
  43. MovementLoopAddLocation(NPC, 546.79, -10.16, 149.02, 2, 0)
  44. MovementLoopAddLocation(NPC, 612.56, -12.22, 144.86, 2, 4)
  45. MovementLoopAddLocation(NPC, 593.15, -11.03, 140.55, 2, 2)
  46. MovementLoopAddLocation(NPC, 593.15, -11.03, 140.55, 2, 8,"EcologyEmotes")
  47. MovementLoopAddLocation(NPC, 587.10, -10.35, 145.71, 2, 0)
  48. MovementLoopAddLocation(NPC, 546.39, -10.53, 153.1, 2, 0)
  49. MovementLoopAddLocation(NPC, 546.29, -15.38, 210.3, 2, 0)
  50. MovementLoopAddLocation(NPC, 576.8, -15.87, 207.63, 2, 0)
  51. MovementLoopAddLocation(NPC, 623.79, -16.71, 198.71, 2, 0)
  52. MovementLoopAddLocation(NPC, 677.25, -19.28, 185.9, 2, 0)
  53. MovementLoopAddLocation(NPC, 689.56, -19.52, 197.06, 2, 0)
  54. MovementLoopAddLocation(NPC, 704.05, -19.53, 192.48, 2, 0)
  55. MovementLoopAddLocation(NPC, 705.64, -19.45, 178.15, 2, 0)
  56. MovementLoopAddLocation(NPC, 668.74, -21.28, 142.24, 2, 0)
  57. MovementLoopAddLocation(NPC, 664.3, -21.16, 100.37, 2, 1)
  58. MovementLoopAddLocation(NPC, 664.3, -21.16, 100.37, 2, 8,"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 664.3, -21.16, 100.37, 2, 1)
  60. end