Advertisement
GrandBulwark

Untitled

Mar 4th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.82 KB | None | 0 0
  1. Scriptname Bulwark_GYAOHCell_TrackerOBJ extends ObjectReference
  2.  
  3. int distanceCheck = 3000
  4. int Count = 0
  5. Bulwark_McMFollower_Summons Property FollowerMcM Auto
  6.  
  7.  
  8. Function OnLoad()
  9. Count = Count + 1
  10. If FollowerMcM.FollowerMessages_G.GetValueInt() == 1
  11. Debug.Notification("Changed Cells")
  12. Endif
  13. If FollowerMcM.BulwarkFollowerCatchup_G.GetValueInt() == 1 && FollowerMcM.PlayerFollowerCount_G.GetValueInt() >= 1 && (Count == 5)
  14. Count = 0
  15. If FollowerMcM.Brelya_Maryon_A.IsPlayerTeammate()
  16. If FollowerMcM.Brelya_Maryon_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Brelya_Maryon_A) > distanceCheck)
  17. FollowerMcM.Brelya_Maryon_A.Moveto(Self)
  18. Text()
  19. Endif
  20. Endif
  21. If FollowerMcM.JZargo_A.IsPlayerTeammate()
  22. If FollowerMcM.JZargo_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.JZargo_A) > distanceCheck)
  23. FollowerMcM.JZargo_A.Moveto(Self)
  24. Text()
  25. Endif
  26. Endif
  27. If FollowerMcM.Onmund_A.IsPlayerTeammate()
  28. If FollowerMcM.Onmund_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Onmund_A) > distanceCheck)
  29. FollowerMcM.Onmund_A.Moveto(Self)
  30. Text()
  31. Endif
  32. Endif
  33. If FollowerMcM.Aela_A.IsPlayerTeammate()
  34. If FollowerMcM.Aela_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Aela_A) > distanceCheck)
  35. FollowerMcM.Aela_A.Moveto(Self)
  36. Text()
  37. Endif
  38. Endif
  39. If FollowerMcM.Athis_A.IsPlayerTeammate()
  40. If FollowerMcM.Athis_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Athis_A) > distanceCheck)
  41. FollowerMcM.Athis_A.Moveto(Self)
  42. Text()
  43. Endif
  44. Endif
  45. If FollowerMcM.Farkas_A.IsPlayerTeammate()
  46. If FollowerMcM.Farkas_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Farkas_A) > distanceCheck)
  47. FollowerMcM.Farkas_A.Moveto(Self)
  48. Text()
  49. Endif
  50. Endif
  51. If FollowerMcM.Njada_Stonearm_A.IsPlayerTeammate()
  52. If FollowerMcM.Njada_Stonearm_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Njada_Stonearm_A) > distanceCheck)
  53. FollowerMcM.Njada_Stonearm_A.Moveto(Self)
  54. Text()
  55. Endif
  56. Endif
  57. If FollowerMcM.Ria_A.IsPlayerTeammate()
  58. If FollowerMcM.Ria_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ria_A) > distanceCheck)
  59. FollowerMcM.Ria_A.Moveto(Self)
  60. Text()
  61. Endif
  62. Endif
  63. If FollowerMcM.Torvar_A.IsPlayerTeammate()
  64. If FollowerMcM.Torvar_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Torvar_A) > distanceCheck)
  65. FollowerMcM.Torvar_A.Moveto(Self)
  66. Text()
  67. Endif
  68. Endif
  69. If FollowerMcM.Vilkas_A.IsPlayerTeammate()
  70. If FollowerMcM.Vilkas_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Vilkas_A) > distanceCheck)
  71. FollowerMcM.Vilkas_A.Moveto(Self)
  72. Text()
  73. Endif
  74. Endif
  75. If FollowerMcM.Cicero_A.IsPlayerTeammate()
  76. If FollowerMcM.Cicero_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Cicero_A) > distanceCheck)
  77. FollowerMcM.Cicero_A.Moveto(Self)
  78. Text()
  79. Endif
  80. Endif
  81. If FollowerMcM.Erandur_A.IsPlayerTeammate()
  82. If FollowerMcM.Erandur_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Erandur_A) > distanceCheck)
  83. FollowerMcM.Erandur_A.Moveto(Self)
  84. Text()
  85. Endif
  86. Endif
  87. If FollowerMcM.Golldir_A.IsPlayerTeammate()
  88. If FollowerMcM.Golldir_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Golldir_A) > distanceCheck)
  89. FollowerMcM.Golldir_A.Moveto(Self)
  90. Text()
  91. Endif
  92. Endif
  93. If FollowerMcM.illia_A.IsPlayerTeammate()
  94. If FollowerMcM.illia_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.illia_A) > distanceCheck)
  95. FollowerMcM.illia_A.Moveto(Self)
  96. Text()
  97. Endif
  98. Endif
  99. If FollowerMcM.Belrand_A.IsPlayerTeammate()
  100. If FollowerMcM.Belrand_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Belrand_A) > distanceCheck)
  101. FollowerMcM.Belrand_A.Moveto(Self)
  102. Text()
  103. Endif
  104. Endif
  105. If FollowerMcM.Erik_The_Slayer_A.IsPlayerTeammate()
  106. If FollowerMcM.Erik_The_Slayer_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Erik_The_Slayer_A) > distanceCheck)
  107. FollowerMcM.Erik_The_Slayer_A.Moveto(Self)
  108. Text()
  109. Endif
  110. Endif
  111. If FollowerMcM.Jenessa_A.IsPlayerTeammate()
  112. If FollowerMcM.Jenessa_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Jenessa_A) > distanceCheck)
  113. FollowerMcM.Jenessa_A.Moveto(Self)
  114. Text()
  115. Endif
  116. Endif
  117. If FollowerMcM.Marcurio_A.IsPlayerTeammate()
  118. If FollowerMcM.Marcurio_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Marcurio_A) > distanceCheck)
  119. FollowerMcM.Marcurio_A.Moveto(Self)
  120. Text()
  121. Endif
  122. Endif
  123. If FollowerMcM.Stenvar_A.IsPlayerTeammate()
  124. If FollowerMcM.Stenvar_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Stenvar_A) > distanceCheck)
  125. FollowerMcM.Stenvar_A.Moveto(Self)
  126. Text()
  127. Endif
  128. Endif
  129. If FollowerMcM.Vorstag_A.IsPlayerTeammate()
  130. If FollowerMcM.Vorstag_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Vorstag_A) > distanceCheck)
  131. FollowerMcM.Vorstag_A.Moveto(Self)
  132. Text()
  133. Endif
  134. Endif
  135. If FollowerMcM.Argis_The_Bulwark_A.IsPlayerTeammate()
  136. If FollowerMcM.Argis_The_Bulwark_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Argis_The_Bulwark_A) > distanceCheck)
  137. FollowerMcM.Argis_The_Bulwark_A.Moveto(Self)
  138. Text()
  139. Endif
  140. Endif
  141. If FollowerMcM.Calder_A.IsPlayerTeammate()
  142. If FollowerMcM.Calder_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Calder_A) > distanceCheck)
  143. FollowerMcM.Calder_A.Moveto(Self)
  144. Text()
  145. Endif
  146. Endif
  147. If FollowerMcM.Iona_A.IsPlayerTeammate()
  148. If FollowerMcM.Iona_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Iona_A) > distanceCheck)
  149. FollowerMcM.Iona_A.Moveto(Self)
  150. Text()
  151. Endif
  152. Endif
  153. If FollowerMcM.Jordis_The_Shield_Maiden_A.IsPlayerTeammate()
  154. If FollowerMcM.Jordis_The_Shield_Maiden_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Jordis_The_Shield_Maiden_A) > distanceCheck)
  155. FollowerMcM.Jordis_The_Shield_Maiden_A.Moveto(Self)
  156. Text()
  157. Endif
  158. Endif
  159. If FollowerMcM.Lydia_A.IsPlayerTeammate()
  160. If FollowerMcM.Lydia_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Lydia_A) > distanceCheck)
  161. FollowerMcM.Lydia_A.Moveto(Self)
  162. Text()
  163. Endif
  164. Endif
  165. If FollowerMcM.Borgakh_The_Steel_Heart_A.IsPlayerTeammate()
  166. If FollowerMcM.Borgakh_The_Steel_Heart_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Borgakh_The_Steel_Heart_A) > distanceCheck)
  167. FollowerMcM.Borgakh_The_Steel_Heart_A.Moveto(Self)
  168. Text()
  169. Endif
  170. Endif
  171. If FollowerMcM.Gorbash_The_Iron_Hand_A.IsPlayerTeammate()
  172. If FollowerMcM.Gorbash_The_Iron_Hand_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Gorbash_The_Iron_Hand_A) > distanceCheck)
  173. FollowerMcM.Gorbash_The_Iron_Hand_A.Moveto(Self)
  174. Text()
  175. Endif
  176. Endif
  177. If FollowerMcM.Lob_A.IsPlayerTeammate()
  178. If FollowerMcM.Lob_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Lob_A) > distanceCheck)
  179. FollowerMcM.Lob_A.Moveto(Self)
  180. Text()
  181. Endif
  182. Endif
  183. If FollowerMcM.Ogol_A.IsPlayerTeammate()
  184. If FollowerMcM.Ogol_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ogol_A) > distanceCheck)
  185. FollowerMcM.Ogol_A.Moveto(Self)
  186. Text()
  187. Endif
  188. Endif
  189. If FollowerMcM.Ugor_A.IsPlayerTeammate()
  190. If FollowerMcM.Ugor_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Ugor_A) > distanceCheck)
  191. FollowerMcM.Ugor_A.Moveto(Self)
  192. Text()
  193. Endif
  194. Endif
  195. If FollowerMcM.Adelaisa_Vendicci_A.IsPlayerTeammate()
  196. If FollowerMcM.Adelaisa_Vendicci_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Adelaisa_Vendicci_A) > distanceCheck)
  197. FollowerMcM.Adelaisa_Vendicci_A.Moveto(Self)
  198. Text()
  199. Endif
  200. Endif
  201. If FollowerMcM.Aranea_Lenith_A.IsPlayerTeammate()
  202. If FollowerMcM.Aranea_Lenith_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Aranea_Lenith_A) > distanceCheck)
  203. FollowerMcM.Aranea_Lenith_A.Moveto(Self)
  204. Text()
  205. Endif
  206. Endif
  207. If FollowerMcM.Benor_A.IsPlayerTeammate()
  208. If FollowerMcM.Benor_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Benor_A) > distanceCheck)
  209. FollowerMcM.Benor_A.Moveto(Self)
  210. Text()
  211. Endif
  212. Endif
  213. If FollowerMcM.Cosnach_A.IsPlayerTeammate()
  214. If FollowerMcM.Cosnach_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Cosnach_A) > distanceCheck)
  215. FollowerMcM.Cosnach_A.Moveto(Self)
  216. Text()
  217. Endif
  218. Endif
  219. If FollowerMcM.Derkeethus_A.IsPlayerTeammate()
  220. If FollowerMcM.Derkeethus_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Derkeethus_A) > distanceCheck)
  221. FollowerMcM.Derkeethus_A.Moveto(Self)
  222. Text()
  223. Endif
  224. Endif
  225. If FollowerMcM.Faendal_A.IsPlayerTeammate()
  226. If FollowerMcM.Faendal_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Faendal_A) > distanceCheck)
  227. FollowerMcM.Faendal_A.Moveto(Self)
  228. Text()
  229. Endif
  230. Endif
  231. If FollowerMcM.Sven_A.IsPlayerTeammate()
  232. If FollowerMcM.Sven_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Sven_A) > distanceCheck)
  233. FollowerMcM.Sven_A.Moveto(Self)
  234. Text()
  235. Endif
  236. Endif
  237. If FollowerMcM.Kharjo_A.IsPlayerTeammate()
  238. If FollowerMcM.Kharjo_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Kharjo_A) > distanceCheck)
  239. FollowerMcM.Kharjo_A.Moveto(Self)
  240. Text()
  241. Endif
  242. Endif
  243. If FollowerMcM.Mjoll_The_Lioness_A.IsPlayerTeammate()
  244. If FollowerMcM.Mjoll_The_Lioness_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Mjoll_The_Lioness_A) > distanceCheck)
  245. FollowerMcM.Mjoll_The_Lioness_A.Moveto(Self)
  246. Text()
  247. Endif
  248. Endif
  249. If FollowerMcM.Uthegerd_The_Unbroken_A.IsPlayerTeammate()
  250. If FollowerMcM.Uthegerd_The_Unbroken_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Uthegerd_The_Unbroken_A) > distanceCheck)
  251. FollowerMcM.Uthegerd_The_Unbroken_A.Moveto(Self)
  252. Text()
  253. Endif
  254. Endif
  255. If FollowerMcM.Annekke_Crag_Jumper_A.IsPlayerTeammate()
  256. If FollowerMcM.Annekke_Crag_Jumper_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Annekke_Crag_Jumper_A) > distanceCheck)
  257. FollowerMcM.Annekke_Crag_Jumper_A.Moveto(Self)
  258. Text()
  259. Endif
  260. Endif
  261. If FollowerMcM.Roggi_Knot_Beard_A.IsPlayerTeammate()
  262. If FollowerMcM.Roggi_Knot_Beard_A.GetAv("WaitingForPlayer") != 1 && (Self.GetDistance(FollowerMcM.Roggi_Knot_Beard_A) > distanceCheck)
  263. FollowerMcM.Roggi_Knot_Beard_A.Moveto(Self)
  264. Text()
  265. Endif
  266. Endif
  267. Endif
  268. Self.Disable()
  269. Endfunction
  270. Function Text()
  271. If FollowerMcM.FollowerMessages_G.GetValueInt() == 1
  272. Debug.Trace("Your follower has caught up.")
  273. Endif
  274. EndFunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement