acaravanguardPatrol.lua 598 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/ADecrepitCrypt/acaravanguardPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.02.12 07:02:06
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. AddTimer(NPC, 6000, "waypoints")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 1.28, -1.04, 10.07, 2, 0)
  21. MovementLoopAddLocation(NPC, 0.45, -1.04, -23.23, 2, 6)
  22. end