arottingcitizenPatrol.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/arottingcitizenPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.15 03:01:03
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton2.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, -180.08, 0, -16.5, 2, 5)
  22. MovementLoopAddLocation(NPC, -186.5, 0, -10.03, 2, 0)
  23. MovementLoopAddLocation(NPC, -189.5, 0, -9.71, 2, 0)
  24. MovementLoopAddLocation(NPC, -192.96, 0, -10.93, 2, 0)
  25. MovementLoopAddLocation(NPC, -194.46, 0, -11.91, 2, 0)
  26. MovementLoopAddLocation(NPC, -195.91, 0, -13.95, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -196.21, 0, -17.38, 2, 0)
  28. MovementLoopAddLocation(NPC, -191.09, 0, -21.23, 2, 0)
  29. MovementLoopAddLocation(NPC, -188.17, 0, -25.82, 2, 0)
  30. MovementLoopAddLocation(NPC, -188.71, 0, -29.6, 2, 0)
  31. MovementLoopAddLocation(NPC, -193.64, 0, -34.45, 2, 0)
  32. MovementLoopAddLocation(NPC, -196.97, 0, -34.04, 2, 0)
  33. MovementLoopAddLocation(NPC, -202.29, 0, -29.35, 2, 0)
  34. MovementLoopAddLocation(NPC, -203.66, 0, -26.34, 2, 0)
  35. MovementLoopAddLocation(NPC, -202.69, 0, -23.27, 2, 0)
  36. MovementLoopAddLocation(NPC, -197.86, 0, -17.61, 2, 0)
  37. MovementLoopAddLocation(NPC, -195.8, 0, -12.94, 2, 0)
  38. MovementLoopAddLocation(NPC, -193.78, 0, -10.69, 2, 0)
  39. MovementLoopAddLocation(NPC, -190.96, 0, -10.79, 2, 0)
  40. MovementLoopAddLocation(NPC, -188.22, 0, -9.95, 2, 0)
  41. MovementLoopAddLocation(NPC, -184.39, 0, -11.48, 2, 0)
  42. MovementLoopAddLocation(NPC, -180.08, 0, -16.5, 2, 0)
  43. end