aGruttoothmystic2.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothmystic2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 12:09:51
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  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, 116.87, 1.55, 115.45, 4, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 126.95, 1.51, 100.08, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 126.95, 1.51, 100.08, 4, 0)
  23. MovementLoopAddLocation(NPC, 123.01, 1.53, 103.13, 4,math.random(5,10))
  24. MovementLoopAddLocation(NPC, 123.01, 1.53, 103.13, 4, 0)
  25. MovementLoopAddLocation(NPC, 137.92, 1.5, 99.36, 4, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 137.92, 1.5, 99.36, 4, 0)
  27. MovementLoopAddLocation(NPC, 117.2, 1.55, 93.12, 4, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 117.2, 1.55, 93.12, 4, 0)
  29. MovementLoopAddLocation(NPC, 137.15, 1.48, 95.36, 4, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 137.15, 1.48, 95.36, 4, 0)
  31. MovementLoopAddLocation(NPC, 124.22, 1.52, 102.77, 4, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 124.22, 1.52, 102.77, 4, 0)
  33. end