GiggiFoppdomler.lua 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/GiggiFoppdomler.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.28 04:10:09
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcology2Hail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcology2Callout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 59.4, 4.13, 48.06, 2, 1)
  25. MovementLoopAddLocation(NPC, 59.4, 4.13, 48.06, 2, 20,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 59.4, 4.13, 48.06, 2, 0)
  27. MovementLoopAddLocation(NPC, 60.24, 4.13, 49.21, 2, 0)
  28. MovementLoopAddLocation(NPC, 57.64, 4.13, 50.61, 2, 0)
  29. MovementLoopAddLocation(NPC, 53.4, 3.27, 50.28, 2, 1)
  30. MovementLoopAddLocation(NPC, 53.4, 3.27, 50.28, 2, 20,"EcologyEmotes")
  31. MovementLoopAddLocation(NPC, 54.04, 3.47, 50.55, 2, 0)
  32. MovementLoopAddLocation(NPC, 54.13, 3.06, 52.79, 2, 2,"Door")
  33. MovementLoopAddLocation(NPC, 49.8, 3, 54.59, 2, 0)
  34. MovementLoopAddLocation(NPC, 49.72, 3, 57.15, 2, 0)
  35. MovementLoopAddLocation(NPC, 52.85, 3, 62.69, 2, 0)
  36. MovementLoopAddLocation(NPC, 54.78, 3, 65.71, 2, 0)
  37. MovementLoopAddLocation(NPC, 57.76, 2.98, 68.7, 2, 0)
  38. MovementLoopAddLocation(NPC, 61.46, 2.94, 70.49, 2, 0)
  39. MovementLoopAddLocation(NPC, 63.69, 3, 72.93, 2, 1)
  40. MovementLoopAddLocation(NPC, 63.69, 3, 72.93, 2, 20,"EcologyEmotes")
  41. MovementLoopAddLocation(NPC, 62.9, 2.99, 71.36, 2, 0)
  42. MovementLoopAddLocation(NPC, 64.86, 2.71, 69.15, 2, 0)
  43. MovementLoopAddLocation(NPC, 70.96, 1.37, 70.9, 2, 0)
  44. MovementLoopAddLocation(NPC, 72.27, 0.87, 72.74, 2, 0)
  45. MovementLoopAddLocation(NPC, 72.73, -0.69, 79.36, 2, 0)
  46. MovementLoopAddLocation(NPC, 76.86, -2.78, 83.54, 2, 0)
  47. MovementLoopAddLocation(NPC, 84.57, -4.57, 97.64, 2, 0)
  48. MovementLoopAddLocation(NPC, 81.59, -4.57, 108.12, 2, 1)
  49. MovementLoopAddLocation(NPC, 81.59, -4.57, 108.12, 2, 20,"EcologyEmotes")
  50. MovementLoopAddLocation(NPC, 81.59, -4.57, 108.12, 2, 0)
  51. MovementLoopAddLocation(NPC, 81.8, -4.57, 103.79, 2, 0)
  52. MovementLoopAddLocation(NPC, 77.29, -4.56, 94.52, 2, 0)
  53. MovementLoopAddLocation(NPC, 76.45, -4.53, 92.87, 2, 1)
  54. MovementLoopAddLocation(NPC, 76.45, -4.53, 92.87, 2, 20,"EcologyEmotes")
  55. MovementLoopAddLocation(NPC, 76.65, -4.51, 91.76, 2, 0)
  56. MovementLoopAddLocation(NPC, 73.23, -2.33, 83.77, 2, 0)
  57. MovementLoopAddLocation(NPC, 71.23, -0.66, 79.64, 2, 0)
  58. MovementLoopAddLocation(NPC, 71.73, 0.31, 75.46, 2, 0)
  59. MovementLoopAddLocation(NPC, 71.11, 0.86, 73.37, 2, 0)
  60. MovementLoopAddLocation(NPC, 68.41, 1.83, 70.75, 2, 0)
  61. MovementLoopAddLocation(NPC, 64.26, 2.82, 70.07, 2, 0)
  62. MovementLoopAddLocation(NPC, 57.21, 2.99, 68.18, 2, 0)
  63. MovementLoopAddLocation(NPC, 50.47, 3, 62.85, 2, 0)
  64. MovementLoopAddLocation(NPC, 46.84, 3, 56.32, 2, 0)
  65. MovementLoopAddLocation(NPC, 50.26, 3, 54.47, 2, 2,"Door")
  66. MovementLoopAddLocation(NPC, 53.7, 3.06, 52.34, 2, 0)
  67. MovementLoopAddLocation(NPC, 55.65, 4.13, 48.95, 2, 0)
  68. MovementLoopAddLocation(NPC, 57.93, 4.13, 47.17, 2, 0)
  69. end
  70. function Door(NPC,Spawn)
  71. local door = GetSpawn(NPC, 1360070)
  72. UseWidget(door)
  73. end