Hodstock.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/Hodstock.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.18 06:07:41
  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, -7.81, 3, -19.57, 2, math.random(2,12))
  19. MovementLoopAddLocation(NPC, -3.46, 3.5, -21.79, 2, math.random(2,12))
  20. MovementLoopAddLocation(NPC, 7.94, 4.75, -27.61, 2, math.random(2,12))
  21. MovementLoopAddLocation(NPC, 18.88, 5, -23.11, 2, math.random(2,12))
  22. MovementLoopAddLocation(NPC, 24.79, 5.25, -12.29, 2, math.random(2,12))
  23. MovementLoopAddLocation(NPC, 32.19, 3.5, 1.29, 2, math.random(2,12))
  24. MovementLoopAddLocation(NPC, 19.57, 3.5, 3.37, 2, math.random(2,12))
  25. MovementLoopAddLocation(NPC, 3.06, 2.5, 6.1, 2, math.random(2,12))
  26. MovementLoopAddLocation(NPC, -21.48, 2, -8.8, 2, math.random(2,12))
  27. MovementLoopAddLocation(NPC, -22.21, 3, -29.52, 2, math.random(2,12))
  28. MovementLoopAddLocation(NPC, -2.74, 4.75, -41.91, 2, math.random(2,12))
  29. MovementLoopAddLocation(NPC, -11.8, 3.75, -32.19, 2, math.random(2,12))
  30. MovementLoopAddLocation(NPC, -6.42, 3.25, -19.49, 2, math.random(2,12))
  31. end