9
3

aGruttoothprotectorBridge1.lua 647 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothprotectorBridge1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.13 09:09:12
  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, -1.92, 2.52, -124.01, 2, 5)
  19. MovementLoopAddLocation(NPC, 23.74, 2.9, -120.05, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 23.74, 2.9, -120.05, 2, 0)
  21. MovementLoopAddLocation(NPC, -1.92, 2.52, -124.01, 2, 0)
  22. end