9
3

arottingcitizenRoamer2.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/arottingcitizenRoamer2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.15 03:01:59
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton1.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, -197.74, 0, -28.67, 2, 4)
  22. MovementLoopAddLocation(NPC, -197.36, 0, -34.27, 2, 0)
  23. MovementLoopAddLocation(NPC, -196.14, 0, -36.24, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -196.14, 0, -36.24, 2, 0)
  25. MovementLoopAddLocation(NPC, -200.38, 0, -31.2, 2, 0)
  26. MovementLoopAddLocation(NPC, -201.99, 0, -27.85, 2, 0)
  27. MovementLoopAddLocation(NPC, -205.89, 0, -26.82, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -205.89, 0, -26.82, 2, 0)
  29. MovementLoopAddLocation(NPC, -202.41, 0, -27.14, 2, 0)
  30. MovementLoopAddLocation(NPC, -199.5, 0, -29.42, 2, 0)
  31. MovementLoopAddLocation(NPC, -196.32, 0, -30.46, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -196.32, 0, -30.46, 2, 0)
  33. MovementLoopAddLocation(NPC, -198.8, 0, -30.15, 2, 0)
  34. MovementLoopAddLocation(NPC, -202.25, 0, -33.13, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -202.25, 0, -33.13, 2, 0)
  36. MovementLoopAddLocation(NPC, -202.25, 0, -33.13, 2, 0)
  37. MovementLoopAddLocation(NPC, -200.66, 0, -32.08, 2, 0)
  38. MovementLoopAddLocation(NPC, -199.61, 0, -25.92, 2, 0)
  39. MovementLoopAddLocation(NPC, -201.84, 0, -22.73, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -201.84, 0, -22.73, 2, 0)
  41. MovementLoopAddLocation(NPC, -197.74, 0, -28.67, 2, 3)
  42. end