CalindraLongshadow.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/CalindraLongshadow.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.11.28 05:11:17
  5. Script Purpose :
  6. :
  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)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 22.82, 5.25, -35.1, 2, 0)
  25. MovementLoopAddLocation(NPC, 21.32, 5.25, -33.85, 2, 0)
  26. MovementLoopAddLocation(NPC, 21.66, 5.25, -32.47, 2, 1)
  27. MovementLoopAddLocation(NPC, 21.66, 5.25, -32.47, 2, 22,"EcologyEmotes")
  28. MovementLoopAddLocation(NPC, 21.66, 5.25, -32.47, 2, 0)
  29. MovementLoopAddLocation(NPC, 20.2, 5.25, -31.38, 2, 0)
  30. MovementLoopAddLocation(NPC, 18.76, 5, -29.3, 2, 0)
  31. MovementLoopAddLocation(NPC, 13.98, 4.75, -20.78, 2, 0)
  32. MovementLoopAddLocation(NPC, 9.49, 3.5, -13.22, 2, 0)
  33. MovementLoopAddLocation(NPC, 5.62, 3.5, -8.63, 2, 1)
  34. MovementLoopAddLocation(NPC, 5.62, 3.5, -8.63, 2, 22,"EcologyEmotes")
  35. MovementLoopAddLocation(NPC, 4.64, 3.5, -6.74, 2, 0)
  36. MovementLoopAddLocation(NPC, 4.64, 3.5, -6.74, 2, 1)
  37. MovementLoopAddLocation(NPC, 4.64, 3.5, -6.74, 2, 22,"EcologyEmotes")
  38. MovementLoopAddLocation(NPC, 5.11, 3.5, -8.48, 2, 1)
  39. MovementLoopAddLocation(NPC, 5.11, 3.5, -8.48, 2, 22,"EcologyEmotes")
  40. MovementLoopAddLocation(NPC, 4.02, 3.5, -7.06, 2, 1)
  41. MovementLoopAddLocation(NPC, 4.02, 3.5, -7.06, 2, 22,"EcologyEmotes")
  42. MovementLoopAddLocation(NPC, 6.5, 3.5, -10.09, 2, 0)
  43. MovementLoopAddLocation(NPC, 9.82, 3.75, -16, 2, 0)
  44. MovementLoopAddLocation(NPC, 13.19, 4.75, -21.21, 2, 0)
  45. MovementLoopAddLocation(NPC, 15.67, 5, -29.56, 2, 0)
  46. MovementLoopAddLocation(NPC, 15.5, 5, -36.5, 2, 1)
  47. MovementLoopAddLocation(NPC, 15.5, 5, -36.5, 2, 22,"EcologyEmotes")
  48. MovementLoopAddLocation(NPC, 16.52, 5, -34.64, 2, 0)
  49. MovementLoopAddLocation(NPC, 18.3, 5, -34.67, 2, 0)
  50. MovementLoopAddLocation(NPC, 26.62, 5.25, -37.93, 2, 1)
  51. MovementLoopAddLocation(NPC, 26.62, 5.25, -37.93, 2, 22,"EcologyEmotes")
  52. MovementLoopAddLocation(NPC, 24.53, 5.25, -37.49, 2, 0)
  53. end