Advertisement
GrandBulwark

Untitled

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