9
3

arat.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/Nettleville/arat.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.20 12:06:03
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC,18000,"MoveLocation")
  10. end
  11. function hailed(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function MoveLocation(NPC)
  17. if GetSpawnLocationID(NPC)== 133773399 then
  18. MoveToLocation(NPC, 679.24, -20.43, 327.12, 2)
  19. MoveToLocation(NPC, 679.24, -20.43, 327.12, 2)
  20. MoveToLocation(NPC, 685.83, -20.42, 331.36, 2)
  21. MoveToLocation(NPC, 685.83, -20.42, 331.36, 2)
  22. MoveToLocation(NPC, 702.20, -24.03, 327.57, 2)
  23. MoveToLocation(NPC, 702.20, -24.03, 327.57, 2)
  24. MoveToLocation(NPC, 706.94, -27.21, 338.35, 2)
  25. MoveToLocation(NPC, 706.94, -27.21, 338.35, 2)
  26. MoveToLocation(NPC, 695.17, -30.47, 341.87, 2)
  27. MoveToLocation(NPC, 695.17, -30.47, 341.87, 2)
  28. MoveToLocation(NPC,689.71, -30.44, 345.11, 2)
  29. MoveToLocation(NPC,689.71, -30.44, 345.11, 2)
  30. MoveToLocation(NPC,690.21, -30.46, 344.63, 2)
  31. MoveToLocation(NPC,690.21, -30.46, 344.63, 2)
  32. elseif
  33. GetSpawnLocationID(NPC)== 133773400 then
  34. MoveToLocation(NPC, 594.29, -20.42, 299.85, 2)
  35. MoveToLocation(NPC, 594.29, -20.42, 299.85, 2)
  36. MoveToLocation(NPC, 594.98, -20.38, 293.39, 2)
  37. MoveToLocation(NPC, 594.98, -20.38, 293.39, 2)
  38. MoveToLocation(NPC, 606.36, -19.96, 284.26, 2)
  39. MoveToLocation(NPC, 606.36, -19.96, 284.26, 2)
  40. MoveToLocation(NPC, 621.03, -20.29, 280.61, 2)
  41. MoveToLocation(NPC, 621.03, -20.29, 280.61, 2)
  42. MoveToLocation(NPC, 628.44, -20.37, 282.29, 2)
  43. MoveToLocation(NPC, 628.44, -20.37, 282.29, 2)
  44. end
  45. end