aTunarianWolfmaster.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/aTunarianWolfmaster.lua
  3. Script Author : Cynnar
  4. Script Date : 2017.01.15 02:01:49
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local modeltype = GetModelType(NPC)
  10. if modeltype == 71 then
  11. SetModelType(NPC, 65)
  12. end
  13. local sli = GetSpawnLocationID(NPC)
  14. if sli == 394954 then
  15. atw394954(NPC)
  16. end
  17. end
  18. function hailed(NPC, Spawn)
  19. Say(NPC, "Testing script")
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function atw394954(NPC)
  25. MovementLoopAddLocation(NPC, -82.9, -9.01, -32.37, 2, 5)
  26. MovementLoopAddLocation(NPC, -89.3, -9.04, -32.93, 2, 0)
  27. MovementLoopAddLocation(NPC, -93.81, -9.04, -39.63, 2, 0)
  28. MovementLoopAddLocation(NPC, -92.14, -6.69, -44.1, 2, 0)
  29. MovementLoopAddLocation(NPC, -97.23, -3.89, -49.12, 2, 0)
  30. MovementLoopAddLocation(NPC, -100.03, -1.57, -53.72, 2, 0)
  31. MovementLoopAddLocation(NPC, -94.65, 0.25, -57.16, 2, 0)
  32. MovementLoopAddLocation(NPC, -95.38, 2.81, -61.48, 2, 0)
  33. MovementLoopAddLocation(NPC, -97.77, 4.07, -63, 2, 0)
  34. MovementLoopAddLocation(NPC, -92.54, 5.15, -66.36, 2, 0)
  35. MovementLoopAddLocation(NPC, -91.12, 6.01, -77.53, 2, 0)
  36. MovementLoopAddLocation(NPC, -90.65, 4.56, -85.65, 2, 0)
  37. MovementLoopAddLocation(NPC, -97.59, 4.44, -89.64, 2, 0)
  38. MovementLoopAddLocation(NPC, -97.98, 4.44, -93.59, 2, 0)
  39. MovementLoopAddLocation(NPC, -110.26, 4.3, -99.75, 2, 0)
  40. MovementLoopAddLocation(NPC, -119.67, 4.32, -100.01, 2, 0)
  41. MovementLoopAddLocation(NPC, -131.47, 4.37, -92.67, 2, 0)
  42. MovementLoopAddLocation(NPC, -134.29, 4.37, -86.85, 2, 0)
  43. MovementLoopAddLocation(NPC, -130.15, 4.35, -61.75, 2, 0)
  44. MovementLoopAddLocation(NPC, -128.1, 4.34, -53.3, 2, 0)
  45. MovementLoopAddLocation(NPC, -130.09, 4.35, -59.37, 2, 0)
  46. MovementLoopAddLocation(NPC, -133.06, 4.37, -85.97, 2, 0)
  47. MovementLoopAddLocation(NPC, -128.33, 4.55, -71.54, 2, 0)
  48. MovementLoopAddLocation(NPC, -128.16, 4.55, -67.7, 2, 0)
  49. MovementLoopAddLocation(NPC, -129.9, 4.35, -62.65, 2, 0)
  50. MovementLoopAddLocation(NPC, -128.14, 4.34, -53.98, 2, 0)
  51. MovementLoopAddLocation(NPC, -129.55, 4.35, -60.2, 2, 0)
  52. MovementLoopAddLocation(NPC, -133.42, 4.37, -82.19, 2, 0)
  53. MovementLoopAddLocation(NPC, -131.98, 4.37, -89.95, 2, 0)
  54. MovementLoopAddLocation(NPC, -126.96, 4.33, -95.66, 2, 0)
  55. MovementLoopAddLocation(NPC, -118.24, 4.32, -100.61, 2, 0)
  56. MovementLoopAddLocation(NPC, -110.1, 4.29, -100.76, 2, 0)
  57. MovementLoopAddLocation(NPC, -100.42, 4.45, -96.02, 2, 0)
  58. MovementLoopAddLocation(NPC, -94.31, 4.42, -87.22, 2, 0)
  59. MovementLoopAddLocation(NPC, -97.45, 4.44, -86.45, 2, 0)
  60. MovementLoopAddLocation(NPC, -97.31, 4.46, -84.61, 2, 0)
  61. MovementLoopAddLocation(NPC, -91.17, 5.53, -81.39, 2, 0)
  62. MovementLoopAddLocation(NPC, -92.97, 5.45, -68.62, 2, 0)
  63. MovementLoopAddLocation(NPC, -97.44, 5.03, -64.94, 2, 0)
  64. MovementLoopAddLocation(NPC, -98.14, 1.47, -59.36, 2, 0)
  65. MovementLoopAddLocation(NPC, -100.07, 0.17, -56.66, 2, 0)
  66. MovementLoopAddLocation(NPC, -95.31, -1.86, -52.95, 2, 0)
  67. MovementLoopAddLocation(NPC, -96.89, -7.05, -44.33, 2, 0)
  68. MovementLoopAddLocation(NPC, -90.52, -9.04, -36.04, 2, 0)
  69. MovementLoopAddLocation(NPC, -89.3, -9.04, -32.93, 2, 0)
  70. end