9
3

ahalflingupstartPath1.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/ahalflingupstartPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.24 10:11:35
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. dofile("SpawnScripts/Generic/MonsterCallouts/QeynosAgitator.lua")
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. halfling(NPC)
  13. waypoints(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, -14.01, -2.53, -2.99, 2, MakeRandomInt(8,10))
  23. MovementLoopAddLocation(NPC, -14.01, -2.53, -2.99, 2, 0)
  24. MovementLoopAddLocation(NPC, -14.69, -2.57, -6.51, 2, 0)
  25. MovementLoopAddLocation(NPC, -11.7, -2.67, -12.15, 2, 0)
  26. MovementLoopAddLocation(NPC, -10.44, -2.67, -16.17, 2, 0)
  27. MovementLoopAddLocation(NPC, -7.71, -2.56, -18.81, 2, 0)
  28. MovementLoopAddLocation(NPC, -2.21, -2.62, -18.75, 2, 0)
  29. MovementLoopAddLocation(NPC, 0.01, -2.66, -18.87, 2, 0)
  30. MovementLoopAddLocation(NPC, 1.12, -2.67, -18.62, 2, MakeRandomInt(8,10))
  31. MovementLoopAddLocation(NPC, 1.12, -2.67, -18.62, 2, 0)
  32. MovementLoopAddLocation(NPC, 0.34, -2.67, -18.85, 2, 0)
  33. MovementLoopAddLocation(NPC, -2.67, -2.63, -18.65, 2, 0)
  34. MovementLoopAddLocation(NPC, -6.95, -2.67, -16.82, 2, 0)
  35. MovementLoopAddLocation(NPC, -14.24, -2.67, -8.71, 2, 0)
  36. MovementLoopAddLocation(NPC, -12.96, -2.53, 1.37, 2, 0)
  37. MovementLoopAddLocation(NPC, -12.26, -2.53, 9.5, 2, 0)
  38. MovementLoopAddLocation(NPC, -9.48, -2.53, 11.66, 2, MakeRandomInt(8,10))
  39. MovementLoopAddLocation(NPC, -9.48, -2.53, 11.66, 2, 0)
  40. MovementLoopAddLocation(NPC, -12.92, -2.53, 8.84, 2, 0)
  41. MovementLoopAddLocation(NPC, -15.2, -2.53, -5.31, 2, 0)
  42. MovementLoopAddLocation(NPC, -18.2, -2.67, -9.23, 2, 0)
  43. MovementLoopAddLocation(NPC, -18.2, -2.67, -9.23, 2, 0)
  44. MovementLoopAddLocation(NPC, -15.82, -2.64, -6.74, 2, 0)
  45. MovementLoopAddLocation(NPC, -12.68, -2.53, 3.75, 2, 0)
  46. MovementLoopAddLocation(NPC, -10.31, -2.53, 5.49, 2, MakeRandomInt(8,10))
  47. MovementLoopAddLocation(NPC, -10.31, -2.53, 5.49, 2, 0)
  48. MovementLoopAddLocation(NPC, -11.58, -2.53, 5.39, 2, 0)
  49. MovementLoopAddLocation(NPC, -16.09, -2.53, 12.84, 2, MakeRandomInt(8,10))
  50. MovementLoopAddLocation(NPC, -16.09, -2.53, 12.84, 2, 0)
  51. MovementLoopAddLocation(NPC, -13.95, -2.53, 8.85, 2, 0)
  52. MovementLoopAddLocation(NPC, -13.7, -2.53, 5.33, 2, 0)
  53. MovementLoopAddLocation(NPC, -16.94, -2.61, 3.88, 2, 0)
  54. MovementLoopAddLocation(NPC, -21.03, -2.67, 4.08, 2, MakeRandomInt(8,10))
  55. MovementLoopAddLocation(NPC, -21.03, -2.67, 4.08, 2, 0)
  56. MovementLoopAddLocation(NPC, -16.68, -2.6, 4.12, 2, 0)
  57. MovementLoopAddLocation(NPC, -8.41, -2.67, -0.5, 2, MakeRandomInt(8,10))
  58. MovementLoopAddLocation(NPC, -8.41, -2.67, -0.5, 2, 0)
  59. MovementLoopAddLocation(NPC, -12.58, -2.53, 0.39, 2, 0)
  60. MovementLoopAddLocation(NPC, -15.15, -2.67, -7.13, 2, MakeRandomInt(8,10))
  61. MovementLoopAddLocation(NPC, -15.15, -2.67, -7.13, 2, 0)
  62. MovementLoopAddLocation(NPC, -14.17, -2.53, -0.48, 2, 0)
  63. MovementLoopAddLocation(NPC, -12.4, -2.53, 4.21, 2, MakeRandomInt(8,10))
  64. MovementLoopAddLocation(NPC, -12.4, -2.53, 4.21, 2, 0)
  65. end