9
3

Ivan.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/Ivan.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.25 12:07:25
  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, 80.18, -4.37, 16.45, 2, math.random(4,12))
  19. MovementLoopAddLocation(NPC, 83.4, -4.37, 16.62, 2, math.random(4,12))
  20. MovementLoopAddLocation(NPC, 93.77, -4.37, 17.17, 2, math.random(4,12))
  21. MovementLoopAddLocation(NPC, 94.65, -4.37, 20.29, 2, math.random(4,12))
  22. MovementLoopAddLocation(NPC, 92.89, -4.37, 22.06, 2, math.random(4,12))
  23. MovementLoopAddLocation(NPC, 89.61, -4.37, 19.75, 2, math.random(4,12))
  24. MovementLoopAddLocation(NPC, 85.98, -4.37, 17.2, 2, math.random(4,12))
  25. MovementLoopAddLocation(NPC, 83.56, -4.37, 16.66, 2, math.random(4,12))
  26. MovementLoopAddLocation(NPC, 81.94, -4.37, 22.14, 2, math.random(4,12))
  27. MovementLoopAddLocation(NPC, 79.04, -4.37, 7.18, 2, math.random(4,12))
  28. MovementLoopAddLocation(NPC, 77.07, -4.37, 3.66, 2, math.random(4,12))
  29. MovementLoopAddLocation(NPC, 74.32, -4.37, 11.31, 2, math.random(4,12))
  30. MovementLoopAddLocation(NPC, 71.05, -4.37, 12.91, 2, math.random(4,12))
  31. MovementLoopAddLocation(NPC, 75.07, -4.37, 13.22, 2, math.random(4,12))
  32. MovementLoopAddLocation(NPC, 89.34, -4.37, 14.29, 2, math.random(4,12))
  33. MovementLoopAddLocation(NPC, 80.08, -4.37, 16.02, 2, math.random(4,12))
  34. end