9
3

aspectralshriller.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/WailingCaves/aspectralshriller.lua
  3. Script Author : Premierio015
  4. Script Date : 2023.12.10 05:12:06
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC)
  10. NPCModule(NPC, Spawn)
  11. movement(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function movement(NPC, Spawn)
  20. if GetSpawnLocationID(NPC) == 403450 then
  21. MovementLoopAddLocation(NPC, -47.55, -3.12, -19.57, 3)
  22. MovementLoopAddLocation(NPC, -35.70, -3.73, -17.20, 3)
  23. MovementLoopAddLocation(NPC, -27.70, -4.99, -16.75, 3)
  24. MovementLoopAddLocation(NPC, -32.95, -4.90, -39.65, 3)
  25. MovementLoopAddLocation(NPC, -51.64, -3.87, -34.11, 3)
  26. elseif GetSpawnLocationID(NPC) == 11971 then
  27. MovementLoopAddLocation(NPC, -47.55, -3.12, -19.57, 2.9)
  28. MovementLoopAddLocation(NPC, -35.70, -3.73, -17.20, 2.9)
  29. MovementLoopAddLocation(NPC, -27.70, -4.99, -16.75, 2.9)
  30. MovementLoopAddLocation(NPC, -32.95, -4.90, -39.65, 2.9)
  31. MovementLoopAddLocation(NPC, -51.64, -3.87, -34.11, 2.9)
  32. elseif GetSpawnLocationID(NPC) == 403448 then
  33. MovementLoopAddLocation(NPC, -47.55, -3.12, -19.57, 2.8)
  34. MovementLoopAddLocation(NPC, -35.70, -3.73, -17.20, 2.8)
  35. MovementLoopAddLocation(NPC, -27.70, -4.99, -16.75, 2.8)
  36. MovementLoopAddLocation(NPC, -32.95, -4.90, -39.65, 2.8)
  37. MovementLoopAddLocation(NPC, -51.64, -3.87, -34.11, 2.8)
  38. end
  39. end