9
3

Loomilias.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/Loomilias.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.11 03:06:14
  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. 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, 701.29, -20.62, -10.6, 2, 15)
  22. MovementLoopAddLocation(NPC, 735.35, -21.02, -12.61, 2, 1)
  23. MovementLoopAddLocation(NPC, 735.35, -21.02, -12.61, 2, 30,"EcologyEmotes")
  24. MovementLoopAddLocation(NPC, 735.35, -21.02, -12.61, 2, 30,"EcologyEmotes")
  25. MovementLoopAddLocation(NPC, 743.34, -21.04, -7.07, 2, 0)
  26. MovementLoopAddLocation(NPC, 752.63, -20.64, 10.8, 2, 0)
  27. MovementLoopAddLocation(NPC, 752.9, -20.64, 11.5, 2, 0)
  28. MovementLoopAddLocation(NPC, 753.04, -20.64, 10.79, 2, 1)
  29. MovementLoopAddLocation(NPC, 753.04, -20.64, 10.79, 2, 13,"EcologyEmotes")
  30. MovementLoopAddLocation(NPC, 753.04, -20.64, 10.79, 2, 13,"EcologyEmotes")
  31. MovementLoopAddLocation(NPC, 750.79, -21.09, -23.06, 2, 0)
  32. MovementLoopAddLocation(NPC, 745.82, -21.31, -29.28, 2, 0)
  33. MovementLoopAddLocation(NPC, 745.24, -21.36, -30.16, 2, 1)
  34. MovementLoopAddLocation(NPC, 745.24, -21.36, -30.16, 2, 30,"EcologyEmotes")
  35. MovementLoopAddLocation(NPC, 745.24, -21.36, -30.16, 2, 30,"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 747.09, -21.34, -31.28, 2, 0)
  37. MovementLoopAddLocation(NPC, 765.01, -20.69, -33.81, 2, 0)
  38. MovementLoopAddLocation(NPC, 765.73, -20.68, -33.74, 2, 1)
  39. MovementLoopAddLocation(NPC, 765.73, -20.68, -33.74, 2, 15,"Drink")
  40. MovementLoopAddLocation(NPC, 765.73, -20.68, -33.74, 2, 15,"Drink")
  41. MovementLoopAddLocation(NPC, 764.96, -20.73, -34.49, 2, 0)
  42. MovementLoopAddLocation(NPC, 705.33, -20.85, -61.56, 2, 12)
  43. MovementLoopAddLocation(NPC, 705.63, -20.88, -61.22, 2, 11)
  44. MovementLoopAddLocation(NPC, 705.63, -20.88, -61.22, 2, 12,"EcologyEmotes")
  45. MovementLoopAddLocation(NPC, 699.84, -21.06, -79.04, 2, 10)
  46. MovementLoopAddLocation(NPC, 699.84, -21.06, -79.04, 2, 0)
  47. MovementLoopAddLocation(NPC, 707.04, -20.8, -63.52, 2, 25)
  48. MovementLoopAddLocation(NPC, 715.63, -21.4, -51.08, 2, 0)
  49. MovementLoopAddLocation(NPC, 714.17, -21.25, -38.14, 2, 0)
  50. MovementLoopAddLocation(NPC, 702.26, -20.64, -11.06, 2, 0)
  51. MovementLoopAddLocation(NPC, 703.74, -20.64, -11.07, 2, 1)
  52. MovementLoopAddLocation(NPC, 703.74, -20.64, -11.07, 2, 60,"EcologyEmotes")
  53. end
  54. function Drink(NPC)
  55. PlayAnimation(NPC,11422)
  56. end