9
3

ataintedSapswillambusher.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/ataintedSapswillambusher.lua
  3. Script Purpose : Path the ambushers to their doom
  4. Script Author : Jabantiz
  5. Script Date : 9/11/2016
  6. Script Notes :
  7. function spawn(NPC)
  8. if GetSpawnLocationID(NPC) == 429588 then
  9. MoveToLocation(NPC, -51.9, 2.03, -152.31, 3)
  10. elseif GetSpawnLocationID(NPC) == 429491 then
  11. MovementLoopAddLocation(NPC, -85.97, 1.67, -183.84, 3)
  12. MovementLoopAddLocation(NPC, -70, 2.1, -178.69, 3)
  13. MovementLoopAddLocation(NPC, -51.42, 2.13, -165, 3)
  14. MovementLoopAddLocation(NPC, -51.97, 2.03, -152.1, 3, 60)
  15. elseif GetSpawnLocationID(NPC) == 429508 then
  16. MovementLoopAddLocation(NPC, -71.15, 3.24, -194.55, 3)
  17. MovementLoopAddLocation(NPC, -59.29, 3.78, -181.34, 3)
  18. MovementLoopAddLocation(NPC, -48.83, 2.38, -155.41, 3)
  19. MovementLoopAddLocation(NPC, -52.89, 2.03, -152.21, 3, 60)
  20. elseif GetSpawnLocationID(NPC) == 429657 then
  21. MovementLoopAddLocation(NPC, 18.29, 3.25, -222.27, 3)
  22. MovementLoopAddLocation(NPC, 4.28, 2.29, -207.62, 3)
  23. MovementLoopAddLocation(NPC, -5.31, 2.44, -183.86, 3)
  24. MovementLoopAddLocation(NPC, -13.56, 4.14, -174.91, 3)
  25. MovementLoopAddLocation(NPC, -27.47, 3.49, -168.66, 3)
  26. MovementLoopAddLocation(NPC, -45.68, 2.12, -159.96, 3)
  27. MovementLoopAddLocation(NPC, -52.86, 2.03, -150.91, 3, 60)
  28. end
  29. end
  30. function respawn(NPC)
  31. spawn(NPC)
  32. end
  33. --]]