crypt_substance5.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : crypt_substance5.lua
  3. Script Purpose : Waypoint Path for crypt_substance5.lua
  4. Script Author : Devn00b
  5. Script Date : 05/10/2020 10:40:46 PM
  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. waypoints(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 20.6, 0.26, -93.69, 2, math.random(0,5))
  19. MovementLoopAddLocation(NPC, 13.9, 0.13, -104.25, 2, math.random(0,5))
  20. MovementLoopAddLocation(NPC, 5.65, -0.07, -109.25, 2, math.random(0,5))
  21. MovementLoopAddLocation(NPC, -10.05, -0.04, -95.68, 2, math.random(0,5))
  22. MovementLoopAddLocation(NPC, -19.42, -0.08, -81.48, 2, math.random(0,5))
  23. MovementLoopAddLocation(NPC, -29.31, -0.03, -76.1, 2, math.random(0,5))
  24. MovementLoopAddLocation(NPC, -30.12, -0.07, -71.38, 2, math.random(0,5))
  25. MovementLoopAddLocation(NPC, -49.02, -0.11, -65.42, 2, math.random(0,5))
  26. MovementLoopAddLocation(NPC, -52.63, -0.08, -71.24, 2, math.random(0,5))
  27. MovementLoopAddLocation(NPC, -49.02, -0.11, -65.42, 2, math.random(0,5))
  28. MovementLoopAddLocation(NPC, -30.12, -0.07, -71.38, 2, math.random(0,5))
  29. MovementLoopAddLocation(NPC, -29.31, -0.03, -76.1, 2, math.random(0,5))
  30. MovementLoopAddLocation(NPC, -19.42, -0.08, -81.48, 2, math.random(0,5))
  31. MovementLoopAddLocation(NPC, -10.05, -0.04, -95.68, 2, math.random(0,5))
  32. MovementLoopAddLocation(NPC, 5.65, -0.07, -109.25, 2, math.random(0,5))
  33. MovementLoopAddLocation(NPC, 13.9, 0.13, -104.25, 2, math.random(0,5))
  34. MovementLoopAddLocation(NPC, 20.6, 0.26, -93.69, 2, math.random(0,5))
  35. end