9
3

BridgeCrosser.lua 772 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/DoF_design_path_script/BridgeCrosser.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.07.18 10:07:47
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC,3000,"Waypoint")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function Waypoint(NPC,Spawn)
  18. MovementLoopAddLocation(NPC,-70,2.76,-25,4)
  19. MovementLoopAddLocation(NPC,-80,2.76,-25,4)
  20. MovementLoopAddLocation(NPC,-100,0,-25, 4,3)
  21. MovementLoopAddLocation(NPC,-80,2.76,-25,4)
  22. MovementLoopAddLocation(NPC,-70,2.76,-25,4)
  23. MovementLoopAddLocation(NPC,-47.5,0,-25, 4,3)
  24. end
  25. function death(NPC,Spawn)
  26. Despawn(NPC)
  27. end