9
3

2PointBridgeCrosser.lua 580 B

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