a_duck2.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : a_duck2.lua
  3. Script Purpose : Waypoint Path for a_duck2.lua
  4. Script Author : Devn00b
  5. Script Date : 08/04/2020 04:04:06 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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, 774.15, -17.52, -313.99, 2, math.random(0,3))
  18. MovementLoopAddLocation(NPC, 742.64, -16.15, -302.61, 2, math.random(0,3))
  19. MovementLoopAddLocation(NPC, 734.94, -17.04, -295.52, 2, math.random(0,3))
  20. MovementLoopAddLocation(NPC, 713.71, -17.05, -293.64, 2, math.random(0,3))
  21. MovementLoopAddLocation(NPC, 675.14, -22.3, -312.11, 2, math.random(0,3))
  22. MovementLoopAddLocation(NPC, 713.71, -17.05, -293.64, 2, math.random(0,3))
  23. MovementLoopAddLocation(NPC, 734.94, -17.04, -295.52, 2, math.random(0,3))
  24. MovementLoopAddLocation(NPC, 742.64, -16.15, -302.61, 2, math.random(0,3))
  25. MovementLoopAddLocation(NPC, 774.15, -17.52, -313.99, 2, math.random(0,3))
  26. end