Eusimonae.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/Eusimonae.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.21 04:06:14
  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, 627.67, -19.54, 304, 2, 1)
  22. MovementLoopAddLocation(NPC, 627.67, -19.54, 304, 2, 55,"EcologyEmotes")
  23. MovementLoopAddLocation(NPC, 627.67, -19.54, 304, 2, 45,"EcologyEmotes")
  24. MovementLoopAddLocation(NPC, 627.71, -19.67, 305.11, 2, 0)
  25. MovementLoopAddLocation(NPC, 632.04, -20.38, 312.58, 2, 1)
  26. MovementLoopAddLocation(NPC, 632.04, -20.38, 312.58, 2, 25,"EcologyEmotes")
  27. MovementLoopAddLocation(NPC, 632.04, -20.38, 312.58, 2, 30,"EcologyEmotes")
  28. MovementLoopAddLocation(NPC, 632.59, -20.45, 311.71, 2, 0)
  29. MovementLoopAddLocation(NPC, 639.71, -20.44, 307.55, 2, 0)
  30. MovementLoopAddLocation(NPC, 646.66, -20.34, 303.48, 2, 0)
  31. MovementLoopAddLocation(NPC, 650.76, -20.41, 301.09, 2, 0)
  32. MovementLoopAddLocation(NPC, 653.3, -20.42, 299.61, 2, 0)
  33. MovementLoopAddLocation(NPC, 655.66, -20.42, 302.19, 2, 0)
  34. MovementLoopAddLocation(NPC, 658.59, -20.42, 307.37, 2, 0)
  35. MovementLoopAddLocation(NPC, 659.63, -20.43, 308.29, 2, 15,"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 660.18, -20.43, 308.75, 2, 0)
  37. MovementLoopAddLocation(NPC, 656.87, -20.42, 302.69, 2, 0)
  38. MovementLoopAddLocation(NPC, 656, -20.42, 301.1, 2, 0)
  39. MovementLoopAddLocation(NPC, 653.55, -20.39, 294.58, 2, 2,"Door")
  40. MovementLoopAddLocation(NPC, 652.68, -20.42, 291.36, 2, 0)
  41. MovementLoopAddLocation(NPC, 652.99, -20.42, 288.4, 2, 0)
  42. MovementLoopAddLocation(NPC, 652.23, -20.42, 285.84, 2, 0)
  43. MovementLoopAddLocation(NPC, 647.21, -20.42, 285.26, 2, 0)
  44. MovementLoopAddLocation(NPC, 644.44, -20.42, 284.94, 2, 0)
  45. MovementLoopAddLocation(NPC, 642.18, -20.42, 283.33, 2, 0)
  46. MovementLoopAddLocation(NPC, 639.82, -20.42, 282.67, 2, 1)
  47. MovementLoopAddLocation(NPC, 639.82, -20.42, 282.67, 2, 45,"EcologyEmotes")
  48. MovementLoopAddLocation(NPC, 638.68, -20.42, 282.89, 2, 0)
  49. MovementLoopAddLocation(NPC, 641.67, -20.42, 283.91, 2, 0)
  50. MovementLoopAddLocation(NPC, 643.72, -20.42, 284.4, 2, 0)
  51. MovementLoopAddLocation(NPC, 646.39, -20.42, 284.08, 2, 0)
  52. MovementLoopAddLocation(NPC, 649, -20.42, 287.38, 2, 0)
  53. MovementLoopAddLocation(NPC, 649.68, -20.42, 289.04, 2, 0)
  54. MovementLoopAddLocation(NPC, 652.65, -20.42, 290.28, 2, 2,"Door")
  55. MovementLoopAddLocation(NPC, 653.6, -20.4, 294.43, 2, 0)
  56. MovementLoopAddLocation(NPC, 648.01, -20.44, 295.91, 2, 0)
  57. MovementLoopAddLocation(NPC, 644.54, -20.51, 295.12, 2, 0)
  58. MovementLoopAddLocation(NPC, 639.67, -20.59, 295.66, 2, 1)
  59. MovementLoopAddLocation(NPC, 639.67, -20.59, 295.66, 2, 45,"EcologyEmotes")
  60. MovementLoopAddLocation(NPC, 637.57, -20.58, 298.44, 2, 0)
  61. MovementLoopAddLocation(NPC, 633.1, -20.62, 302.63, 2, 0)
  62. MovementLoopAddLocation(NPC, 629.77, -20.66, 306.56, 2, 0)
  63. MovementLoopAddLocation(NPC, 629.15, -19.54, 303.29, 2, 0)
  64. end
  65. function Door(NPC,Spawn)
  66. local door = GetSpawn(NPC, 2330093)
  67. UseWidget(door)
  68. end