9
3

EdgarSwoats.lua 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/Starcrest/EdgarSwoats.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.30 01:06:20
  5. Script Purpose :
  6. :
  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 waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 784.23, -20.34, 249.17, 2, 1)
  22. MovementLoopAddLocation(NPC, 784.23, -20.34, 249.17, 2, 25,"EcologyEmotes")
  23. MovementLoopAddLocation(NPC, 784.34, -20.33, 250.02, 2, 0)
  24. MovementLoopAddLocation(NPC, 781.77, -20.36, 248.38, 2, 0)
  25. MovementLoopAddLocation(NPC, 779.91, -20.42, 246.41, 2, 0)
  26. MovementLoopAddLocation(NPC, 770.32, -20.34, 242.53, 2, 0)
  27. MovementLoopAddLocation(NPC, 757.92, -20.32, 245.24, 2, 0)
  28. MovementLoopAddLocation(NPC, 746.6, -20.35, 247.49, 2, 0)
  29. MovementLoopAddLocation(NPC, 743.75, -20.34, 248.89, 2, 0)
  30. MovementLoopAddLocation(NPC, 743.66, -20.39, 251.82, 2, 0)
  31. MovementLoopAddLocation(NPC, 743.92, -20.38, 261.75, 2, 0)
  32. MovementLoopAddLocation(NPC, 745.15, -20.4, 264.36, 2, 1)
  33. MovementLoopAddLocation(NPC, 745.15, -20.4, 264.36, 2, 45,"EcologyEmotes")
  34. MovementLoopAddLocation(NPC, 744.79, -20.53, 267.97, 2, 0)
  35. MovementLoopAddLocation(NPC, 753.81, -20.64, 270.59, 2, 0)
  36. MovementLoopAddLocation(NPC, 755.88, -19.53, 267.46, 2, 1)
  37. MovementLoopAddLocation(NPC, 755.88, -19.53, 267.46, 2, 45,"EcologyEmotes")
  38. MovementLoopAddLocation(NPC, 754.84, -20.6, 270.75, 2, 0)
  39. MovementLoopAddLocation(NPC, 749.36, -20.6, 269.07, 2, 0)
  40. MovementLoopAddLocation(NPC, 742.96, -20.43, 266.66, 2, 0)
  41. MovementLoopAddLocation(NPC, 741.86, -20.4, 260.21, 2, 0)
  42. MovementLoopAddLocation(NPC, 744.22, -20.36, 247.97, 2, 0)
  43. MovementLoopAddLocation(NPC, 749.74, -20.39, 245.81, 2, 0)
  44. MovementLoopAddLocation(NPC, 763.81, -20.39, 242.81, 2, 0)
  45. MovementLoopAddLocation(NPC, 785.21, -20.41, 245.46, 2, 0)
  46. MovementLoopAddLocation(NPC, 796.63, -19.83, 247.2, 2, 1)
  47. MovementLoopAddLocation(NPC, 796.63, -19.83, 247.2, 2, 18,"EcologyEmotes")
  48. MovementLoopAddLocation(NPC, 797.28, -20.01, 248.81, 2, 0)
  49. MovementLoopAddLocation(NPC, 793.11, -20.14, 247.83, 2, 0)
  50. MovementLoopAddLocation(NPC, 784.89, -20.39, 246.96, 2, 0)
  51. end