JumJum.lua 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/JumJum.lua
  3. Script Purpose : Jum Jum
  4. Script Author : Scatman
  5. Script Date : 2009.05.11
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function respawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, 876.4, -14.48, -422.25, 2, math.random(10, 30))
  18. MovementLoopAddLocation(NPC, 874.31, -17.06, -429.14, 2, 0)
  19. MovementLoopAddLocation(NPC, 872.78, -18.47, -435.38, 2, 0)
  20. MovementLoopAddLocation(NPC, 873.79, -18.4, -440.24, 2, math.random(10, 30))
  21. MovementLoopAddLocation(NPC, 869.33, -18.97, -447.58, 2, math.random(10, 30))
  22. MovementLoopAddLocation(NPC, 875.1, -18.73, -447.92, 2, 0)
  23. MovementLoopAddLocation(NPC, 883.01, -18.9, -452.41, 2, 0)
  24. MovementLoopAddLocation(NPC, 889.04, -17.06, -450.56, 2, math.random(10, 30))
  25. MovementLoopAddLocation(NPC, 892.96, -18.12, -453.89, 2, 0)
  26. MovementLoopAddLocation(NPC, 895.64, -18.8, -458.53, 2, 0)
  27. MovementLoopAddLocation(NPC, 896.5, -18.16, -463.9, 2, 0)
  28. MovementLoopAddLocation(NPC, 898.51, -18.14, -471.52, 2, 0)
  29. MovementLoopAddLocation(NPC, 899.84, -17.94, -473.95, 2, math.random(10, 30))
  30. MovementLoopAddLocation(NPC, 907.03, -17.53, -479.04, 2, 0)
  31. MovementLoopAddLocation(NPC, 909.41, -17.63, -483.42, 2, 0)
  32. MovementLoopAddLocation(NPC, 910.77, -17.41, -488.46, 2, 0)
  33. MovementLoopAddLocation(NPC, 908.94, -16.75, -493.58, 2, 0)
  34. MovementLoopAddLocation(NPC, 907.77, -17.84, -498.91, 2, math.random(10, 30))
  35. MovementLoopAddLocation(NPC, 905.15, -18.14, -499.14, 2, 0)
  36. MovementLoopAddLocation(NPC, 899.99, -17.97, -502.32, 2, 0)
  37. MovementLoopAddLocation(NPC, 897.58, -17.54, -503.82, 2, 0)
  38. MovementLoopAddLocation(NPC, 891.56, -16.16, -516.91, 2, math.random(10, 30))
  39. MovementLoopAddLocation(NPC, 879.13, -16.02, -521.86, 2, 0)
  40. MovementLoopAddLocation(NPC, 872.4, -16.18, -525.39, 2, math.random(10, 30))
  41. MovementLoopAddLocation(NPC, 866.91, -17.03, -523.36, 2, 0)
  42. MovementLoopAddLocation(NPC, 860.66, -18.02, -525.09, 2, 0)
  43. MovementLoopAddLocation(NPC, 852.28, -18.37, -527.04, 2, 0)
  44. MovementLoopAddLocation(NPC, 845.52, -18.68, -523.36, 2, 0)
  45. MovementLoopAddLocation(NPC, 841.68, -19.66, -523.74, 2, math.random(10, 30))
  46. MovementLoopAddLocation(NPC, 839.35, -19.38, -519.65, 2, 0)
  47. MovementLoopAddLocation(NPC, 839.54, -19.06, -516.64, 2, 0)
  48. MovementLoopAddLocation(NPC, 839.33, -18.8, -509.75, 2, 0)
  49. MovementLoopAddLocation(NPC, 838.11, -18.56, -505.99, 2, math.random(10, 30))
  50. MovementLoopAddLocation(NPC, 832.98, -18.46, -509.32, 2, 0)
  51. MovementLoopAddLocation(NPC, 830.75, -18.44, -509.86, 2, 0)
  52. MovementLoopAddLocation(NPC, 825.78, -17.96, -507.83, 2, 0)
  53. MovementLoopAddLocation(NPC, 823.72, -17.12, -505.99, 2, 0)
  54. MovementLoopAddLocation(NPC, 823.16, -16.38, -503.83, 2, 0)
  55. MovementLoopAddLocation(NPC, 823.22, -14.55, -500.89, 2, 0)
  56. MovementLoopAddLocation(NPC, 823.56, -14.09, -499.52, 2, 0)
  57. MovementLoopAddLocation(NPC, 823.65, -13.32, -495.58, 2, math.random(10, 30))
  58. MovementLoopAddLocation(NPC, 821.49, -9.87, -487.82, 2, 0)
  59. MovementLoopAddLocation(NPC, 818.71, -9.08, -480.41, 2, 0)
  60. MovementLoopAddLocation(NPC, 819.45, -8.94, -478.94, 2, 0)
  61. MovementLoopAddLocation(NPC, 823.09, -8.89, -476.09, 2, 0)
  62. MovementLoopAddLocation(NPC, 830.62, -9.9, -472.44, 2, 0)
  63. MovementLoopAddLocation(NPC, 834.65, -10.07, -470.93, 2, 0)
  64. MovementLoopAddLocation(NPC, 835.75, -10.26, -469.73, 2, 0)
  65. MovementLoopAddLocation(NPC, 837.18, -11.69, -464.68, 2, 0)
  66. MovementLoopAddLocation(NPC, 841.17, -15.25, -464.24, 2, 0)
  67. MovementLoopAddLocation(NPC, 843.89, -17.06, -465.62, 2, 0)
  68. MovementLoopAddLocation(NPC, 845.13, -17.6, -466.76, 2, math.random(10, 30))
  69. MovementLoopAddLocation(NPC, 845.13, -17.73, -468.21, 2, 0)
  70. MovementLoopAddLocation(NPC, 847.14, -18.21, -469.22, 2, 0)
  71. MovementLoopAddLocation(NPC, 847.95, -18.35, -468.24, 2, 0)
  72. MovementLoopAddLocation(NPC, 847.6, -17.86, -463.37, 2, 0)
  73. MovementLoopAddLocation(NPC, 846.64, -17.77, -458.92, 2, math.random(10, 30))
  74. MovementLoopAddLocation(NPC, 845.42, -17.43, -460.15, 2, 0)
  75. MovementLoopAddLocation(NPC, 846.83, -17.93, -466.01, 2, 0)
  76. MovementLoopAddLocation(NPC, 842.39, -17.78, -475.28, 2, 0)
  77. MovementLoopAddLocation(NPC, 841.99, -17.73, -477.5, 2, 0)
  78. MovementLoopAddLocation(NPC, 839.95, -17.76, -478.77, 2, math.random(10, 30))
  79. MovementLoopAddLocation(NPC, 839.85, -17.7, -480.66, 2, 0)
  80. MovementLoopAddLocation(NPC, 835.8, -17.78, -481.17, 2, 0)
  81. MovementLoopAddLocation(NPC, 833.84, -17.7, -483.62, 2, 0)
  82. MovementLoopAddLocation(NPC, 832.51, -17.75, -486.93, 2, 0)
  83. MovementLoopAddLocation(NPC, 832.19, -17.8, -491.45, 2, math.random(10, 30))
  84. MovementLoopAddLocation(NPC, 833.21, -18.12, -495.52, 2, 0)
  85. MovementLoopAddLocation(NPC, 830.24, -17.82, -498.07, 2, 0)
  86. MovementLoopAddLocation(NPC, 828.94, -17.87, -500.39, 2, 0)
  87. MovementLoopAddLocation(NPC, 830.35, -18.08, -503.63, 2, 0)
  88. MovementLoopAddLocation(NPC, 837.53, -18.69, -508.42, 2, 0)
  89. MovementLoopAddLocation(NPC, 844.83, -18.33, -507.23, 2, math.random(10, 30))
  90. MovementLoopAddLocation(NPC, 842.29, -18.48, -508.57, 2, 0)
  91. MovementLoopAddLocation(NPC, 840.15, -18.8, -512.1, 2, 0)
  92. MovementLoopAddLocation(NPC, 838.59, -19.17, -517.12, 2, 0)
  93. MovementLoopAddLocation(NPC, 838.84, -19.38, -518.98, 2, 0)
  94. MovementLoopAddLocation(NPC, 840.36, -19.49, -521.84, 2, 0)
  95. MovementLoopAddLocation(NPC, 843.79, -19, -523.13, 2, 0)
  96. MovementLoopAddLocation(NPC, 849.48, -18.32, -526.23, 2, 0)
  97. MovementLoopAddLocation(NPC, 854.7, -18.36, -526.55, 2, 0)
  98. MovementLoopAddLocation(NPC, 859.94, -18.14, -524.95, 2, 0)
  99. MovementLoopAddLocation(NPC, 865.91, -17.25, -520.88, 2, math.random(10, 30))
  100. MovementLoopAddLocation(NPC, 869.56, -16.87, -518.77, 2, 0)
  101. MovementLoopAddLocation(NPC, 873.05, -16.41, -519.27, 2, 0)
  102. MovementLoopAddLocation(NPC, 877.3, -15.99, -521.72, 2, 0)
  103. MovementLoopAddLocation(NPC, 893.45, -15.41, -529.04, 2, math.random(10, 30))
  104. MovementLoopAddLocation(NPC, 891.66, -15.39, -531.46, 2, 0)
  105. MovementLoopAddLocation(NPC, 890.26, -15.14, -531.13, 2, 0)
  106. MovementLoopAddLocation(NPC, 887.45, -15.64, -525.47, 2, 0)
  107. MovementLoopAddLocation(NPC, 887.72, -15.85, -521.28, 2, 0)
  108. MovementLoopAddLocation(NPC, 887.64, -16.03, -518.36, 2, 0)
  109. MovementLoopAddLocation(NPC, 889.03, -16.27, -514.7, 2, 0)
  110. MovementLoopAddLocation(NPC, 892.22, -16.8, -508.72, 2, 0)
  111. MovementLoopAddLocation(NPC, 893.91, -17.1, -506.35, 2, 0)
  112. MovementLoopAddLocation(NPC, 896.28, -17.52, -501.53, 2, 0)
  113. MovementLoopAddLocation(NPC, 897.23, -17.75, -499.48, 2, math.random(10, 30))
  114. MovementLoopAddLocation(NPC, 895.36, -17.66, -497.76, 2, 0)
  115. MovementLoopAddLocation(NPC, 894.47, -17.86, -494.71, 2, 0)
  116. MovementLoopAddLocation(NPC, 890.89, -18, -490.22, 2, 0)
  117. MovementLoopAddLocation(NPC, 888.82, -18.12, -487.05, 2, 0)
  118. MovementLoopAddLocation(NPC, 886.81, -18.26, -484.47, 2, 0)
  119. MovementLoopAddLocation(NPC, 885.88, -18.22, -481.55, 2, 0)
  120. MovementLoopAddLocation(NPC, 886.54, -18.26, -477.88, 2, 0)
  121. MovementLoopAddLocation(NPC, 887.14, -18.65, -472.51, 2, 0)
  122. MovementLoopAddLocation(NPC, 887.56, -19.03, -467.73, 2, 0)
  123. MovementLoopAddLocation(NPC, 891.22, -19.12, -463.66, 2, 0)
  124. MovementLoopAddLocation(NPC, 894.96, -18.85, -459.5, 2, 0)
  125. MovementLoopAddLocation(NPC, 892.39, -18.02, -453.72, 2, math.random(10, 30))
  126. MovementLoopAddLocation(NPC, 890.27, -17.89, -453.79, 2, 0)
  127. MovementLoopAddLocation(NPC, 888.53, -17.56, -452.65, 2, 0)
  128. MovementLoopAddLocation(NPC, 889.09, -17.04, -450.33, 2, 0)
  129. MovementLoopAddLocation(NPC, 891.08, -15.56, -447.01, 2, 0)
  130. MovementLoopAddLocation(NPC, 897.21, -14.52, -438.53, 2, math.random(10, 30))
  131. MovementLoopAddLocation(NPC, 892.85, -14.1, -438.92, 2, 0)
  132. MovementLoopAddLocation(NPC, 889.45, -13.93, -438.31, 2, 0)
  133. MovementLoopAddLocation(NPC, 885.38, -13.66, -434.98, 2, 0)
  134. MovementLoopAddLocation(NPC, 883.7, -13.78, -432.5, 2, math.random(10, 30))
  135. MovementLoopAddLocation(NPC, 882.12, -13.94, -426.33, 2, 0)
  136. end
  137. --[[ MovementLoopAddLocation(NPC, 875.58, -14.85, -425.02, 2, 0)
  138. MovementLoopAddLocation(NPC, 872.4, -18.42, -439.51, 2, 0)
  139. MovementLoopAddLocation(NPC, 857.69, -18.47, -453.94, 2, 0)
  140. MovementLoopAddLocation(NPC, 854.45, -18.81, -460.17, 2, 0)
  141. MovementLoopAddLocation(NPC, 846.24, -17.61, -460.55, 1, 0)
  142. MovementLoopAddLocation(NPC, 840.82, -14.64, -465.98, 1, 0)
  143. MovementLoopAddLocation(NPC, 834.44, -10.29, -466.54, 1, 0)
  144. MovementLoopAddLocation(NPC, 819.85, -9.08, -479.2, 1, 10)
  145. MovementLoopAddLocation(NPC, 819.3, -9.92, -486.05, 2, math.random(0, 30))
  146. MovementLoopAddLocation(NPC, 814.71, -11.45, -488.68, 2, 0)
  147. MovementLoopAddLocation(NPC, 814.92, -12.61, -494.18, 1, 0)
  148. MovementLoopAddLocation(NPC, 825.57, -13.73, -495.76, 1, 0)
  149. MovementLoopAddLocation(NPC, 823.85, -19.09, -512.36, 1, 0)
  150. MovementLoopAddLocation(NPC, 829.99, -18.24, -506.78, 1, 0)
  151. MovementLoopAddLocation(NPC, 829.92, -17.88, -499.49, 2, 0)
  152. MovementLoopAddLocation(NPC, 833.51, -18.22, -496.33, 2, 0)
  153. MovementLoopAddLocation(NPC, 833.57, -18.01, -492.46, 1, 0)
  154. MovementLoopAddLocation(NPC, 832.61, -17.83, -489.74, 1, 10)
  155. MovementLoopAddLocation(NPC, 835.43, -17.71, -483.41, 2, math.random(0, 30))
  156. MovementLoopAddLocation(NPC, 841.16, -17.87, -481.63, 3, 0)
  157. MovementLoopAddLocation(NPC, 843.88, -17.84, -472.36, 3, 0)
  158. MovementLoopAddLocation(NPC, 847.53, -18.14, -466.67, 1, 0)
  159. MovementLoopAddLocation(NPC, 852.22, -18.46, -465.15, 1, 0)
  160. MovementLoopAddLocation(NPC, 863.47, -18.73, -446.32, 1, 0)
  161. MovementLoopAddLocation(NPC, 871.74, -18.5, -441.79, 2, 0)
  162. MovementLoopAddLocation(NPC, 881.84, -18.62, -449.61, 1, 0)
  163. MovementLoopAddLocation(NPC, 891.23, -18.87, -457.63, 1, 10)
  164. MovementLoopAddLocation(NPC, 894.72, -18.41, -454.69, 2, math.random(0, 30))
  165. MovementLoopAddLocation(NPC, 893.33, -14.96, -442.13, 2, 0)
  166. MovementLoopAddLocation(NPC, 880.45, -14.09, -425.4, 2, 0)]]