4PointBridgeCrosser.lua 678 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/DoF_design_path_script/4PointBridgeCrosser.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.07.19 04:07:23
  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,-100,0,-25, 4,3)
  20. MovementLoopAddLocation(NPC,-70,2.76,-25,4)
  21. MovementLoopAddLocation(NPC,-47.5,0,-25, 4,3)
  22. end
  23. function death(NPC,Spawn)
  24. Despawn(NPC)
  25. end