9
3

aCaltorsisClericPath1.lua 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisClericPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 10:02:57
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGhost1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. Appearance(NPC)
  13. waypoints(NPC)
  14. end
  15. function Appearance(NPC)
  16. if GetGender(NPC)==2 then
  17. SpawnSet(NPC,"model_type",2851)
  18. else
  19. SpawnSet(NPC,"model_type",2852)
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, -2115.58, 3.1, -492.85, 2, 4)
  30. MovementLoopAddLocation(NPC, -2115.41, 2.45, -486.85, 2, 0)
  31. MovementLoopAddLocation(NPC, -2115.2, 1.17, -479.3, 2, 0)
  32. MovementLoopAddLocation(NPC, -2115.01, -0.38, -472.66, 2, 0)
  33. MovementLoopAddLocation(NPC, -2114.87, -1.68, -467.45, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -2114.87, -1.68, -467.45, 2, 0)
  35. MovementLoopAddLocation(NPC, -2114.99, -1.36, -468.66, 2, 0)
  36. MovementLoopAddLocation(NPC, -2115.59, -0.12, -474.89, 2, 0)
  37. MovementLoopAddLocation(NPC, -2116.22, 1.15, -481.3, 2, 0)
  38. MovementLoopAddLocation(NPC, -2116.89, 1.98, -488.2, 2, 0)
  39. MovementLoopAddLocation(NPC, -2117.48, 2.46, -494.27, 2, 0)
  40. MovementLoopAddLocation(NPC, -2118.04, 2.91, -500.01, 2, 0)
  41. MovementLoopAddLocation(NPC, -2118.61, 3.31, -505.9, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -2118.61, 3.31, -505.9, 2, 0)
  43. MovementLoopAddLocation(NPC, -2116.48, 4.06, -504.1, 2, 0)
  44. MovementLoopAddLocation(NPC, -2112.12, 5.49, -500.42, 2, 0)
  45. MovementLoopAddLocation(NPC, -2107.91, 7.03, -496.86, 2, 0)
  46. MovementLoopAddLocation(NPC, -2104.07, 8.56, -493.62, 2, 0)
  47. MovementLoopAddLocation(NPC, -2100.43, 10.01, -490.54, 2, 0)
  48. MovementLoopAddLocation(NPC, -2097.23, 11.13, -487.83, 2, math.random(5,10))
  49. MovementLoopAddLocation(NPC, -2097.23, 11.13, -487.83, 2, 0)
  50. MovementLoopAddLocation(NPC, -2099.15, 10.5, -489.21, 2, 0)
  51. MovementLoopAddLocation(NPC, -2103.3, 8.79, -492.2, 2, 0)
  52. MovementLoopAddLocation(NPC, -2107.5, 7.06, -495.22, 2, 0)
  53. MovementLoopAddLocation(NPC, -2110.98, 5.65, -497.73, 2, 0)
  54. MovementLoopAddLocation(NPC, -2114.98, 4.28, -500.61, 2, math.random(5,10))
  55. MovementLoopAddLocation(NPC, -2114.98, 4.28, -500.61, 2, 0)
  56. MovementLoopAddLocation(NPC, -2116.72, 3.36, -499.08, 2, 0)
  57. MovementLoopAddLocation(NPC, -2120.56, 1.31, -495.71, 2, 0)
  58. MovementLoopAddLocation(NPC, -2124.64, -1.25, -492.13, 2, 0)
  59. MovementLoopAddLocation(NPC, -2128.33, -3.69, -488.89, 2, 0)
  60. MovementLoopAddLocation(NPC, -2132.22, -6.25, -485.47, 2, 0)
  61. MovementLoopAddLocation(NPC, -2136.11, -9.03, -482.06, 2, 0)
  62. MovementLoopAddLocation(NPC, -2139.8, -11.9, -478.82, 2, 0)
  63. MovementLoopAddLocation(NPC, -2143.59, -14.43, -475.49, 2, 0)
  64. MovementLoopAddLocation(NPC, -2146.63, -16.1, -472.82, 2, math.random(5,10))
  65. MovementLoopAddLocation(NPC, -2146.63, -16.1, -472.82, 2, 0)
  66. MovementLoopAddLocation(NPC, -2147.05, -15.59, -475.15, 2, 0)
  67. MovementLoopAddLocation(NPC, -2147.8, -14.72, -480.59, 2, 0)
  68. MovementLoopAddLocation(NPC, -2148.08, -13.94, -486.51, 2, 0)
  69. MovementLoopAddLocation(NPC, -2148.34, -13.01, -491.93, 2, 0)
  70. MovementLoopAddLocation(NPC, -2148.65, -11.94, -498.23, 2, 0)
  71. MovementLoopAddLocation(NPC, -2148.67, -11.88, -498.62, 2, 0)
  72. MovementLoopAddLocation(NPC, -2146.78, -11.38, -496.79, 2, 0)
  73. MovementLoopAddLocation(NPC, -2143.01, -10.35, -493.14, 2, 0)
  74. MovementLoopAddLocation(NPC, -2138.67, -9.01, -488.95, 2, 0)
  75. MovementLoopAddLocation(NPC, -2133.39, -7.21, -483.84, 2, math.random(5,10))
  76. MovementLoopAddLocation(NPC, -2128.23, -5.65, -478.84, 2, 0)
  77. MovementLoopAddLocation(NPC, -2128.07, -5.61, -478.68, 2, 0)
  78. MovementLoopAddLocation(NPC, -2126.52, -4.36, -479.81, 2, 0)
  79. MovementLoopAddLocation(NPC, -2121.65, -1.23, -483.34, 2, 0)
  80. MovementLoopAddLocation(NPC, -2117.63, 1.36, -486.27, 2, 0)
  81. MovementLoopAddLocation(NPC, -2113.12, 3.75, -489.54, 2, 0)
  82. MovementLoopAddLocation(NPC, -2108.48, 6.34, -492.91, 2, 0)
  83. MovementLoopAddLocation(NPC, -2104.34, 8.67, -495.92, 2, 0)
  84. MovementLoopAddLocation(NPC, -2100.16, 10.05, -498.95, 2, 0)
  85. MovementLoopAddLocation(NPC, -2096.09, 11.27, -501.91, 2, math.random(5,10))
  86. MovementLoopAddLocation(NPC, -2096.09, 11.27, -501.91, 2, 0)
  87. MovementLoopAddLocation(NPC, -2099.29, 10.27, -502.56, 2, 0)
  88. MovementLoopAddLocation(NPC, -2103.18, 9.04, -504.47, 2, 0)
  89. MovementLoopAddLocation(NPC, -2107.55, 7.71, -506.08, 2, 0)
  90. MovementLoopAddLocation(NPC, -2111.94, 6.3, -507.69, 2, 0)
  91. MovementLoopAddLocation(NPC, -2116.35, 4.55, -509.31, 2, 0)
  92. MovementLoopAddLocation(NPC, -2118.21, 3.81, -510, 2, 0)
  93. MovementLoopAddLocation(NPC, -2118.6, 3.49, -508.06, 2, 0)
  94. MovementLoopAddLocation(NPC, -2117.07, 3.54, -501.86, 2, 0)
  95. MovementLoopAddLocation(NPC, -2115.69, 3.46, -496.24, 2, 0)
  96. MovementLoopAddLocation(NPC, -2114.08, 3.37, -489.71, 2, 0)
  97. MovementLoopAddLocation(NPC, -2113.11, 3.35, -485.79, 2, math.random(5,10))
  98. MovementLoopAddLocation(NPC, -2113.11, 3.35, -485.79, 2, 0)
  99. MovementLoopAddLocation(NPC, -2115.58, 3.1, -492.85, 2, 3)
  100. end