FrancineTalino.lua 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/FrancineTalino.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.22 11:06:05
  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. SetInfoStructString(NPC, "action_state", "mood_angry")
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. GenericEcologyHail(NPC, Spawn, faction)
  17. end
  18. function InRange(NPC,Spawn)
  19. if GetFactionAmount(Spawn,11)<0 then
  20. FactionCheckingCallout(NPC,Spawn,faction)
  21. end
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 594.03, -20.35, 303.22, 2, 1)
  25. MovementLoopAddLocation(NPC, 594.03, -20.35, 303.22, 2, 45,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 590.82, -20.39, 303.12, 2, 0)
  27. MovementLoopAddLocation(NPC, 586.11, -20.3, 307.87, 2, 0)
  28. MovementLoopAddLocation(NPC, 581.74, -20.4, 315.28, 2, 0)
  29. MovementLoopAddLocation(NPC, 578.48, -20.52, 325.4, 2, 0)
  30. MovementLoopAddLocation(NPC, 576.4, -20.48, 333.77, 2, 0)
  31. MovementLoopAddLocation(NPC, 570.24, -19.99, 337.45, 2, 0)
  32. MovementLoopAddLocation(NPC, 570.24, -19.99, 337.45, 2, 1)
  33. MovementLoopAddLocation(NPC, 570.24, -19.99, 337.45, 2, 45,"EcologyEmotes")
  34. MovementLoopAddLocation(NPC, 572.57, -20.21, 338.04, 2, 0)
  35. MovementLoopAddLocation(NPC, 578.08, -20.34, 338.62, 2, 0)
  36. MovementLoopAddLocation(NPC, 583.48, -20.37, 341.55, 2, 0)
  37. MovementLoopAddLocation(NPC, 588.77, -20.29, 343.2, 2, 0)
  38. MovementLoopAddLocation(NPC, 590.84, -20.33, 343.61, 2, 0)
  39. MovementLoopAddLocation(NPC, 591.53, -20.34, 343.07, 2, 1)
  40. MovementLoopAddLocation(NPC, 591.53, -20.34, 343.07, 2, 45,"EcologyEmotes")
  41. MovementLoopAddLocation(NPC, 592.01, -20.35, 343.53, 2, 0)
  42. MovementLoopAddLocation(NPC, 595.67, -20.35, 344.34, 2, 0)
  43. MovementLoopAddLocation(NPC, 598.68, -20.56, 345.01, 2, 0)
  44. MovementLoopAddLocation(NPC, 601.26, -20.71, 344.63, 2, 0)
  45. MovementLoopAddLocation(NPC, 602.93, -20.8, 344.25, 2, 0)
  46. MovementLoopAddLocation(NPC, 607.75, -20.78, 337.88, 2, 0)
  47. MovementLoopAddLocation(NPC, 610.2, -20.54, 333.72, 2, 0)
  48. MovementLoopAddLocation(NPC, 611.36, -20.51, 331.13, 2, 0)
  49. MovementLoopAddLocation(NPC, 613.13, -20.59, 328.14, 2, 0)
  50. MovementLoopAddLocation(NPC, 617.13, -20.56, 322.81, 2, 0)
  51. MovementLoopAddLocation(NPC, 621.11, -20.55, 317.76, 2, 0)
  52. MovementLoopAddLocation(NPC, 623.33, -20.46, 314.74, 2, 0)
  53. MovementLoopAddLocation(NPC, 627.96, -20.54, 310.16, 2, 0)
  54. MovementLoopAddLocation(NPC, 634, -20.63, 308.31, 2, 0)
  55. MovementLoopAddLocation(NPC, 636.47, -20.62, 307.11, 2, 0)
  56. MovementLoopAddLocation(NPC, 641.44, -20.46, 304.97, 2, 0)
  57. MovementLoopAddLocation(NPC, 646.72, -20.38, 293.05, 2, 1)
  58. MovementLoopAddLocation(NPC, 646.72, -20.38, 293.05, 2, 45,"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 643.91, -20.52, 295, 2, 0)
  60. MovementLoopAddLocation(NPC, 639.12, -20.62, 296.86, 2, 0)
  61. MovementLoopAddLocation(NPC, 637.6, -20.56, 297.45, 2, 0)
  62. MovementLoopAddLocation(NPC, 635.31, -20.41, 295.26, 2, 0)
  63. MovementLoopAddLocation(NPC, 632.62, -20.37, 286.46, 2, 0)
  64. MovementLoopAddLocation(NPC, 631.68, -20.38, 283.33, 2, 0)
  65. MovementLoopAddLocation(NPC, 626.74, -20.38, 281.02, 2, 0)
  66. MovementLoopAddLocation(NPC, 625.07, -20.36, 280.19, 2, 0)
  67. MovementLoopAddLocation(NPC, 622.87, -20.36, 280.65, 2, 0)
  68. MovementLoopAddLocation(NPC, 611.96, -20.26, 285.12, 2, 0)
  69. MovementLoopAddLocation(NPC, 603.79, -20.33, 288.71, 2, 0)
  70. MovementLoopAddLocation(NPC, 600.9, -20.35, 290.15, 2, 0)
  71. MovementLoopAddLocation(NPC, 596.29, -20.41, 296.05, 2, 0)
  72. MovementLoopAddLocation(NPC, 594.28, -20.34, 303.51, 2, 1)
  73. MovementLoopAddLocation(NPC, 594.28, -20.34, 303.51, 2, 45,"EcologyEmotes")
  74. MovementLoopAddLocation(NPC, 592.94, -20.38, 303.12, 2, 0)
  75. MovementLoopAddLocation(NPC, 586.62, -20.32, 306.68, 2, 0)
  76. MovementLoopAddLocation(NPC, 581.71, -20.17, 312.91, 2, 0)
  77. MovementLoopAddLocation(NPC, 580.26, -20.36, 318.56, 2, 0)
  78. MovementLoopAddLocation(NPC, 575.97, -20.41, 336.04, 2, 0)
  79. MovementLoopAddLocation(NPC, 577.88, -20.35, 338.74, 2, 0)
  80. MovementLoopAddLocation(NPC, 580.26, -20.24, 339.11, 2, 1)
  81. MovementLoopAddLocation(NPC, 580.26, -20.24, 339.11, 2, 45,"EcologyEmotes")
  82. MovementLoopAddLocation(NPC, 580.45, -20.37, 341.51, 2, 0)
  83. MovementLoopAddLocation(NPC, 588.78, -20.29, 343.13, 2, 0)
  84. MovementLoopAddLocation(NPC, 596.77, -20.4, 344.58, 2, 0)
  85. MovementLoopAddLocation(NPC, 599.94, -20.63, 345.06, 2, 0)
  86. MovementLoopAddLocation(NPC, 603.05, -20.8, 343.83, 2, 0)
  87. MovementLoopAddLocation(NPC, 608.99, -20.72, 340.34, 2, 0)
  88. MovementLoopAddLocation(NPC, 610.66, -20.56, 337.4, 2, 1)
  89. MovementLoopAddLocation(NPC, 610.82, -20.55, 337.60, 2, 45,"EcologyEmotes")
  90. MovementLoopAddLocation(NPC, 606.27, -20.73, 345.76, 2, 0)
  91. MovementLoopAddLocation(NPC, 600.62, -20.69, 345.47, 2, 0)
  92. MovementLoopAddLocation(NPC, 592.56, -20.36, 344.2, 2, 0)
  93. MovementLoopAddLocation(NPC, 584.58, -20.35, 342.09, 2, 0)
  94. MovementLoopAddLocation(NPC, 580.19, -20.32, 340.65, 2, 0)
  95. MovementLoopAddLocation(NPC, 578.04, -20.37, 334.59, 2, 0)
  96. MovementLoopAddLocation(NPC, 576.96, -20.41, 331.57, 2, 0)
  97. MovementLoopAddLocation(NPC, 578.57, -20.44, 321.82, 2, 0)
  98. MovementLoopAddLocation(NPC, 581.96, -20.2, 312.84, 2, 0)
  99. MovementLoopAddLocation(NPC, 587.27, -20.36, 305.92, 2, 0)
  100. MovementLoopAddLocation(NPC, 591.37, -20.4, 302.19, 2, 0)
  101. end