9
3

arottingcitizenRoam1.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/arottingcitizenRoam1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.15 03:01:27
  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, -192.93, 0, -25.18, 2, 4)
  22. MovementLoopAddLocation(NPC, -191.02, 0, -22.96, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -191.02, 0, -22.96, 2, 0)
  24. MovementLoopAddLocation(NPC, -193.64, 0, -24.78, 2, 0)
  25. MovementLoopAddLocation(NPC, -196.75, 0, -24.26, 2, 0)
  26. MovementLoopAddLocation(NPC, -200.15, 0, -25.81, 2, 0)
  27. MovementLoopAddLocation(NPC, -202.3, 0, -27.57, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -202.3, 0, -27.57, 2, 0)
  29. MovementLoopAddLocation(NPC, -199.13, 0, -26.66, 2, 0)
  30. MovementLoopAddLocation(NPC, -193.83, 0, -27.97, 2, 0)
  31. MovementLoopAddLocation(NPC, -189.66, 0, -31.54, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -189.66, 0, -31.54, 2, 0)
  33. MovementLoopAddLocation(NPC, -193.03, 0, -28.42, 2, 0)
  34. MovementLoopAddLocation(NPC, -195.14, 0, -23.76, 2, 0)
  35. MovementLoopAddLocation(NPC, -197.56, 0, -20.61, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -197.56, 0, -20.61, 2, 0)
  37. MovementLoopAddLocation(NPC, -196.91, 0, -24.27, 2, 0)
  38. MovementLoopAddLocation(NPC, -197.85, 0, -26.92, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, -197.85, 0, -26.92, 2, 0)
  40. MovementLoopAddLocation(NPC, -196.39, 0, -24.45, 2, 0)
  41. MovementLoopAddLocation(NPC, -193.25, 0, -22.46, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -193.25, 0, -22.46, 2, 0)
  43. MovementLoopAddLocation(NPC, -192.93, 0, -25.18, 2, 3)
  44. end