acorruptorPath2.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/acorruptorPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.24 06:12:32
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton2.lua")
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. AddTimer(NPC, 6000, "waypoints")
  13. SetSpawnAnimation(NPC, 13016)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, -38.66, 0, 214.49, 2, 0)
  23. MovementLoopAddLocation(NPC, -38.29, 0, 204.28, 2, 0)
  24. MovementLoopAddLocation(NPC, -41.36, 0, 202.01, 2, 0)
  25. MovementLoopAddLocation(NPC, -45.9, 0, 201.75, 2, 0)
  26. MovementLoopAddLocation(NPC, -65.02, 0, 201, 2, 0)
  27. MovementLoopAddLocation(NPC, -67.8, 0, 199.83, 2, 0)
  28. MovementLoopAddLocation(NPC, -68.86, 0, 197.64, 2, 0)
  29. MovementLoopAddLocation(NPC, -67.13, 0, 200.47, 2, 0)
  30. MovementLoopAddLocation(NPC, -41.54, 0, 200.81, 2, 0)
  31. MovementLoopAddLocation(NPC, -37.91, 0, 204.23, 2, 0)
  32. end