tomb_guard.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : tomb_guard.lua
  3. Script Purpose : Waypoint Path for tomb_guard.lua
  4. Script Author : Devn00b
  5. Script Date : 06/12/2020 12:02:27 AM
  6. Script Notes : Locations collected from Live
  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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -8.84, -0.09, -115.71, 2, math.random(0,5))
  18. MovementLoopAddLocation(NPC, -14.17, -0.15, -113.54, 2, math.random(0,10))
  19. MovementLoopAddLocation(NPC, -10.81, 0.32, -113.11, 2, math.random(0,10))
  20. MovementLoopAddLocation(NPC, -12.87, -0.09, -115.28, 2, math.random(0,10))
  21. MovementLoopAddLocation(NPC, -14.03, -0.14, -112.44, 2, math.random(0,10))
  22. MovementLoopAddLocation(NPC, -9.53, -0.06, -115.85, 2, math.random(0,10))
  23. MovementLoopAddLocation(NPC, -11.59, 0.21, -115.29, 2, math.random(0,10))
  24. MovementLoopAddLocation(NPC, -9.63, 0.21, -114.72, 2, math.random(0,10))
  25. MovementLoopAddLocation(NPC, -11.59, 0.21, -115.29, 2, math.random(0,10))
  26. MovementLoopAddLocation(NPC, -9.53, -0.06, -115.85, 2, math.random(0,10))
  27. MovementLoopAddLocation(NPC, -14.03, -0.14, -112.44, 2, math.random(0,10))
  28. MovementLoopAddLocation(NPC, -12.87, -0.09, -115.28, 2, math.random(0,10))
  29. MovementLoopAddLocation(NPC, -10.81, 0.32, -113.11, 2, math.random(0,10))
  30. MovementLoopAddLocation(NPC, -14.17, -0.15, -113.54, 2, math.random(0,10))
  31. MovementLoopAddLocation(NPC, -8.84, -0.09, -115.71, 2, math.random(0,10))
  32. end