aGruttoothprotectorBridge2.lua 645 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothprotectorBridge2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.13 09:09:05
  5. Script Purpose :
  6. :
  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. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, -43.96, 2.84, -160.7, 2, 5)
  19. MovementLoopAddLocation(NPC, -14.48, 3.09, -174.3, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, -14.48, 3.09, -174.3, 2, 0)
  21. MovementLoopAddLocation(NPC, -43.96, 2.84, -160.7, 2, 0)
  22. end