ocoggin.lua 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. --[[
  2. Script Name : ocoggin.lua
  3. Script Purpose : Waypoint Path for ocoggin.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 06:22:22 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, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericRaceCheckHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 454.21, -11.27, 119.32, 2, 0)
  25. MovementLoopAddLocation(NPC, 462.96, -11.34, 117.26, 2, 0)
  26. MovementLoopAddLocation(NPC, 473.17, -11.51, 115.77, 2, 0)
  27. MovementLoopAddLocation(NPC, 481.48, -11.52, 116.12, 2, 0)
  28. MovementLoopAddLocation(NPC, 483.61, -11.53, 117.36, 2, 0)
  29. MovementLoopAddLocation(NPC, 487.02, -11.53, 120.96, 2, 0)
  30. MovementLoopAddLocation(NPC, 488.53, -11.53, 125.73, 2, 0)
  31. MovementLoopAddLocation(NPC, 487.84, -11.52, 130.97, 2, 0)
  32. MovementLoopAddLocation(NPC, 486.34, -11.5, 136.27, 2, 0)
  33. MovementLoopAddLocation(NPC, 486.77, -11.42, 140.74, 2, 0)
  34. MovementLoopAddLocation(NPC, 491.78, -11.49, 143.11, 2, 0)
  35. MovementLoopAddLocation(NPC, 496.37, -11.77, 144.14, 2, 0)
  36. MovementLoopAddLocation(NPC, 541.07, -10.47, 150.54, 2, 0)
  37. MovementLoopAddLocation(NPC, 622.68, -12.29, 146.78, 2, 2)
  38. MovementLoopAddLocation(NPC, 610.46, -11.65, 159.89, 2, 2)
  39. MovementLoopAddLocation(NPC, 610.46, -11.65, 159.89, 2, 8,"EcologyEmotes")
  40. MovementLoopAddLocation(NPC,605.04, -11.99, 148.63, 2, 0)
  41. MovementLoopAddLocation(NPC, 541.07, -10.47, 150.54, 2, 0)
  42. MovementLoopAddLocation(NPC, 496.37, -11.77, 144.14, 2, 0)
  43. MovementLoopAddLocation(NPC, 491.78, -11.49, 143.11, 2, 0)
  44. MovementLoopAddLocation(NPC, 486.77, -11.42, 140.74, 2, 0)
  45. MovementLoopAddLocation(NPC, 486.34, -11.5, 136.27, 2, 0)
  46. MovementLoopAddLocation(NPC, 487.84, -11.52, 130.97, 2, 0)
  47. MovementLoopAddLocation(NPC, 488.53, -11.53, 125.73, 2, 0)
  48. MovementLoopAddLocation(NPC, 487.02, -11.53, 120.96, 2, 0)
  49. MovementLoopAddLocation(NPC, 483.61, -11.53, 117.36, 2, 0)
  50. MovementLoopAddLocation(NPC, 481.48, -11.52, 116.12, 2, 0)
  51. MovementLoopAddLocation(NPC, 473.17, -11.51, 115.77, 2, 0)
  52. MovementLoopAddLocation(NPC, 462.96, -11.34, 117.26, 2, 0)
  53. MovementLoopAddLocation(NPC, 454.21, -11.27, 119.32, 2, 2)
  54. MovementLoopAddLocation(NPC, 454.21, -11.27, 119.32, 2, 8,"EcologyEmotes")
  55. end