9
3

a_rat_b.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/a_rat_b.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.18 07:07:49
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, -21.16, 2.5, -15.72, 5, math.random(3,12))
  19. MovementLoopAddLocation(NPC, -4.01, 3, -3.27, 5, math.random(3,12))
  20. MovementLoopAddLocation(NPC, 15.56, 3.36, 11.83, 5, math.random(3,12))
  21. MovementLoopAddLocation(NPC, 44.96, 5, 16.14, 5, math.random(3,12))
  22. MovementLoopAddLocation(NPC, 18.99, 3.5, 5.19, 5, math.random(3,12))
  23. MovementLoopAddLocation(NPC, 16.26, 3.5, -6.33, 5, math.random(3,12))
  24. MovementLoopAddLocation(NPC, 61.47, 5, -12.93, 5, math.random(3,12))
  25. MovementLoopAddLocation(NPC, 59.27, 3.75, 1.67, 5, math.random(3,12))
  26. MovementLoopAddLocation(NPC, 50.84, 3.77, -1.31, 5, math.random(3,12))
  27. MovementLoopAddLocation(NPC, 40.06, 5.25, -12.7, 5, math.random(3,12))
  28. MovementLoopAddLocation(NPC, 22.82, 5.25, -11.84, 5, math.random(3,12))
  29. MovementLoopAddLocation(NPC, 13.72, 4.75, -23.46, 5, math.random(3,12))
  30. MovementLoopAddLocation(NPC, 21.11, 5.25, -38.69, 5, math.random(3,12))
  31. MovementLoopAddLocation(NPC, 17.16, 3.5, -4.36, 5, math.random(3,12))
  32. MovementLoopAddLocation(NPC, -3.96, 3, -2.33, 5, math.random(3,12))
  33. MovementLoopAddLocation(NPC, -18.78, 2.5, -15.35, 5, math.random(3,12))
  34. end