arottingcitizenRoamer3.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/arottingcitizenRoamer3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.15 03:01:00
  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, -184.93, 0, -10.63, 2, 4)
  22. MovementLoopAddLocation(NPC, -180.05, 0, -11.51, 2, 0)
  23. MovementLoopAddLocation(NPC, -176.15, 0, -10.18, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -176.15, 0, -10.18, 2, 0)
  25. MovementLoopAddLocation(NPC, -179.41, 0, -11.99, 2, 0)
  26. MovementLoopAddLocation(NPC, -183.42, 0, -16.42, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -183.42, 0, -16.42, 2, 0)
  28. MovementLoopAddLocation(NPC, -184.03, 0, -13.98, 2, 0)
  29. MovementLoopAddLocation(NPC, -182.27, 0, -9.86, 2, 0)
  30. MovementLoopAddLocation(NPC, -180.01, 0, -7.23, 2, 0)
  31. MovementLoopAddLocation(NPC, -180.12, 0, -5.22, 2, 0)
  32. MovementLoopAddLocation(NPC, -182.56, 0, -2.56, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -182.56, 0, -2.56, 2, 0)
  34. MovementLoopAddLocation(NPC, -173.09, 0, -10.29, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -173.09, 0, -10.29, 2, 0)
  36. MovementLoopAddLocation(NPC, -176.01, 0, -10.1, 2, 0)
  37. MovementLoopAddLocation(NPC, -181.74, 0, -13.76, 2, 0)
  38. MovementLoopAddLocation(NPC, -186.69, 0, -10.65, 2, 0)
  39. MovementLoopAddLocation(NPC, -189.53, 0, -10.39, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -189.53, 0, -10.39, 2, 0)
  41. MovementLoopAddLocation(NPC, -184.93, 0, -10.63, 2, 3)
  42. end