ataintedSapswillambusher.lua 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. --]]
  8. function spawn(NPC)
  9. if GetSpawnLocationID(NPC) == 429588 then
  10. MoveToLocation(NPC, -51.9, 2.03, -152.31, 3)
  11. elseif GetSpawnLocationID(NPC) == 429491 then
  12. MovementLoopAddLocation(NPC, -85.97, 1.67, -183.84, 3)
  13. MovementLoopAddLocation(NPC, -70, 2.1, -178.69, 3)
  14. MovementLoopAddLocation(NPC, -51.42, 2.13, -165, 3)
  15. MovementLoopAddLocation(NPC, -51.97, 2.03, -152.1, 3, 60)
  16. elseif GetSpawnLocationID(NPC) == 429508 then
  17. MovementLoopAddLocation(NPC, -71.15, 3.24, -194.55, 3)
  18. MovementLoopAddLocation(NPC, -59.29, 3.78, -181.34, 3)
  19. MovementLoopAddLocation(NPC, -48.83, 2.38, -155.41, 3)
  20. MovementLoopAddLocation(NPC, -52.89, 2.03, -152.21, 3, 60)
  21. elseif GetSpawnLocationID(NPC) == 429657 then
  22. MovementLoopAddLocation(NPC, 18.29, 3.25, -222.27, 3)
  23. MovementLoopAddLocation(NPC, 4.28, 2.29, -207.62, 3)
  24. MovementLoopAddLocation(NPC, -5.31, 2.44, -183.86, 3)
  25. MovementLoopAddLocation(NPC, -13.56, 4.14, -174.91, 3)
  26. MovementLoopAddLocation(NPC, -27.47, 3.49, -168.66, 3)
  27. MovementLoopAddLocation(NPC, -45.68, 2.12, -159.96, 3)
  28. MovementLoopAddLocation(NPC, -52.86, 2.03, -150.91, 3, 60)
  29. end
  30. end
  31. function respawn(NPC)
  32. spawn(NPC)
  33. end