Advertisement
GrandBulwark

Untitled

Feb 26th, 2015
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.39 KB | None | 0 0
  1. ScriptName Bulwark_McMFollower_Summons Extends SKI_ConfigBase
  2. {Allows the player to summon any vanilla follower to their current location}
  3. ;-Script Author GrandBulwark
  4.  
  5. ;-Option IDs--------------------------------------------------------------
  6. ;-Winterhold College
  7. Int OID_Brelya_Maryon ; MGRAppBrelyna01 Objective 30
  8. Int OID_J'Zargo ;MGRAppJzargo01 Objective 30
  9. Int OID_Onmund ;MGRAppOnmund01 Objective 40
  10. ;-Companions
  11. Int OID_Aela
  12. Int OID_Athis
  13. Int OID_Farkas
  14. Int OID_Njada_Stonearm
  15. Int OID_Ria
  16. Int OID_Torvar
  17. Int OID_Vilkas
  18. ;-Dark Brotherhood
  19. Int OID_Cicero
  20. ;-Dawnguard
  21. Int OID_Agmaer
  22. Int OID_Beleval
  23. Int OID_Celann
  24. Int OID_Durak
  25. Int OID_Ingard
  26. Int OID_Serana
  27. ;-Dragonborn
  28. Int OID_Frea ;DLC2MQ03 Objective 70
  29. Int OID_Talvas ;DLC2TTF1 Objective 200
  30. Int OID_Teldryn_Sero
  31. ;-Dungeon Quest Followers
  32. Int OID_Erandur ;DA16 Objective Objective 200
  33. Int OID_Golldir ;dunHillgrundsTombQST Objective 100
  34. Int OID_illia ;dunDarklightQST Objective 20
  35. ;-Hirelings
  36. Int OID_Belrand
  37. Int OID_Erik_The_Slayer
  38. Int OID_Jenessa
  39. Int OID_Marcurio
  40. Int OID_Stenvar
  41. Int OID_Vorstag
  42. ;-Housecarls
  43. Int OID_Argis_The_Bulwark ;Favor250 15
  44. Int OID_Calder ;favor254 15
  45. Int OID_Iona ;FreeformThaneRiften 30
  46. Int OID_Jordis_The_Shield_Maiden ;Favor252 15
  47. Int OID_Lydia ;Favor253 15
  48. ;-HF Housecarls
  49. Int OID_Gregor ;Favor256 15
  50. Int OID_Rayya ;Favor258 15
  51. Int OID_Valdimar ;Favor255 15
  52. ;-Orcs
  53. Int OID_Borgakh_The_Steel_Heart
  54. Int OID_Gorbash_The_Iron_Hand
  55. Int OID_Lob ;DA06 Objective 120
  56. Int OID_Ogol ;DA06 Objective 120
  57. Int OID_Ugor ;DA06 Objective 120
  58. ;-Misc
  59. Int OID_Adelaisa_Vendicci ;MS10MiscObjPointer Objective 80
  60. Int OID_Ahtar ;Captain Hargar dead
  61. Int OID_Aranea_Lenith ;DA01 Objective 80
  62. Int OID_Benor
  63. Int OID_Cosnach
  64. Int OID_Derkeethus ;DarkwaterCrossingDerkeethusRescueQuest Objective 20
  65. Int OID_Faendal ;FreeformRiverwood01 Objective 210
  66. Int OID_Sven ;FreeformRiverwood01 Objective 220
  67. Int OID_Kharjo ;FreeformCaravansA Objective 15
  68. Int OID_Mjoll_The_Lioness ;FreeformRiften09 Objective 20
  69. Int OID_Uthegerd_The_Unbroken
  70.  
  71. ;Viable Checks not found
  72. Int OID_Annekke_Crag_Jumper
  73. Int OID_Roggi_Knot_Beard
  74.  
  75. ;-Animals
  76. Int OID_Meeko
  77. ;DG
  78. Int OID_BranHusky
  79. Int OID_CusithDeathHound
  80. Int OID_GarmrDeathHound
  81. Int OID_SceolangHusky
  82.  
  83. ;-Global Variables--------------------------------------------------------
  84. ;-Winterhold College
  85. GlobalVariable Property Brelya_Maryon_G Auto ; MGRAppBrelyna01 Objective 30
  86. GlobalVariable Property J'Zargo_G Auto ;MGRAppJzargo01 Objective 30
  87. GlobalVariable Property Onmund_G Auto ;MGRAppOnmund01 Objective 40
  88. ;-Companions
  89. GlobalVariable Property Aela_G Auto
  90. GlobalVariable Property Athis_G Auto
  91. GlobalVariable Property Farkas_G Auto
  92. GlobalVariable Property Njada_Stonearm_G Auto
  93. GlobalVariable Property Ria_G Auto
  94. GlobalVariable Property Torvar_G Auto
  95. GlobalVariable Property Vilkas_G Auto
  96. ;-Dark Brotherhood
  97. GlobalVariable Property Cicero_G Auto
  98. ;-Dawnguard
  99. GlobalVariable Property Agmaer_G Auto
  100. GlobalVariable Property Beleval_G Auto
  101. GlobalVariable Property Celann_G Auto
  102. GlobalVariable Property Durak_G Auto
  103. GlobalVariable Property Ingard_G Auto
  104. GlobalVariable Property Serana_G Auto
  105. ;-Dragonborn
  106. GlobalVariable Property Frea_G Auto ;DLC2MQ03 Objective 70
  107. GlobalVariable Property Talvas_G Auto ;DLC2TTF1 Objective 200
  108. GlobalVariable Property Teldryn_Sero_G Auto
  109. ;-Dungeon Quest Followers
  110. GlobalVariable Property Erandur_G Auto ;DA16 Objective Objective 200
  111. GlobalVariable Property Golldir_G Auto ;dunHillgrundsTombQST Objective 100
  112. GlobalVariable Property illia_G Auto ;dunDarklightQST Objective 20
  113. ;-Hirelings
  114. GlobalVariable Property Belrand_G Auto
  115. GlobalVariable Property Erik_The_Slayer_G Auto
  116. GlobalVariable Property Jenessa_G Auto
  117. GlobalVariable Property Marcurio_G Auto
  118. GlobalVariable Property Stenvar_G Auto
  119. GlobalVariable Property Vorstag_G Auto
  120. ;-Housecarls
  121. GlobalVariable Property Argis_The_Bulwark_G Auto ;Favor250 15
  122. GlobalVariable Property Calder_G Auto ;favor254 15
  123. GlobalVariable Property Iona_G Auto ;FreeformThaneRiften 30
  124. GlobalVariable Property Jordis_The_Shield_Maiden_G Auto ;Favor252 15
  125. GlobalVariable Property Lydia_G Auto ;Favor253 15
  126. ;-HF Housecarls
  127. GlobalVariable Property Gregor_G Auto ;Favor256 15
  128. GlobalVariable Property Rayya_G Auto ;Favor258 15
  129. GlobalVariable Property Valdimar_G Auto ;Favor255 15
  130. ;-Orcs
  131. GlobalVariable Property Borgakh_The_Steel_Heart_G Auto
  132. GlobalVariable Property Gorbash_The_Iron_Hand_G Auto
  133. GlobalVariable Property Lob_G Auto ;DA06 Objective 120
  134. GlobalVariable Property Ogol_G Auto ;DA06 Objective 120
  135. GlobalVariable Property Ugor_G Auto ;DA06 Objective 120
  136. ;-Misc
  137. GlobalVariable Property Adelaisa_Vendicci_G Auto ;MS10MiscObjPointer Objective 80
  138. GlobalVariable Property Ahtar_G Auto ;Captain Hargar dead
  139. GlobalVariable Property Aranea_Lenith_G Auto ;DA01 Objective 80
  140. GlobalVariable Property Benor_G Auto
  141. GlobalVariable Property Cosnach_G Auto
  142. GlobalVariable Property Derkeethus_G Auto ;DarkwaterCrossingDerkeethusRescueQuest Objective 20
  143. GlobalVariable Property Faendal_G Auto ;FreeformRiverwood01 Objective 210
  144. GlobalVariable Property Sven_G Auto ;FreeformRiverwood01 Objective 220
  145. GlobalVariable Property Kharjo_G Auto ;FreeformCaravansA Objective 15
  146. GlobalVariable Property Mjoll_The_Lioness_G Auto ;FreeformRiften09 Objective 20
  147. GlobalVariable Property Uthegerd_The_Unbroken_G Auto
  148.  
  149. ;Viable Checks not found
  150. GlobalVariable Property Annekke_Crag_Jumper_G Auto
  151. GlobalVariable Property Roggi_Knot_Beard_G Auto
  152.  
  153. ;-Animals
  154. GlobalVariable Property Meeko_G Auto
  155. ;DG
  156. GlobalVariable Property BranHusky_G Auto
  157. GlobalVariable Property CusithDeathHound_G Auto
  158. GlobalVariable Property GarmrDeathHound_G Auto
  159. GlobalVariable Property SceolangHusky_G Auto
  160.  
  161. ;-Actors------------------------------------------------------------------
  162. ;-Winterhold College
  163. Actor Property Brelya_Maryon_A Auto ; MGRAppBrelyna01 Objective 30
  164. Actor Property J'Zargo_A Auto ;MGRAppJzargo01 Objective 30
  165. Actor Property Onmund_A Auto ;MGRAppOnmund01 Objective 40
  166. ;-Companions
  167. Actor Property Aela_A Auto
  168. Actor Property Athis_A Auto
  169. Actor Property Farkas_A Auto
  170. Actor Property Njada_Stonearm_A Auto
  171. Actor Property Ria_A Auto
  172. Actor Property Torvar_A Auto
  173. Actor Property Vilkas_A Auto
  174. ;-Dark Brotherhood
  175. Actor Property Cicero_A Auto
  176. ;-Dawnguard
  177. Actor Property Agmaer_A Auto
  178. Actor Property Beleval_A Auto
  179. Actor Property Celann_A Auto
  180. Actor Property Durak_A Auto
  181. Actor Property Ingard_A Auto
  182. Actor Property Serana_A Auto
  183. ;-Dragonborn
  184. Actor Property Frea_A Auto ;DLC2MQ03 Objective 70
  185. Actor Property Talvas_A Auto ;DLC2TTF1 Objective 200
  186. Actor Property Teldryn_Sero_A Auto
  187. ;-Dungeon Quest Followers
  188. Actor Property Erandur_A Auto ;DA16 Objective Objective 200
  189. Actor Property Golldir_A Auto ;dunHillgrundsTombQST Objective 100
  190. Actor Property illia_A Auto ;dunDarklightQST Objective 20
  191. ;-Hirelings
  192. Actor Property Belrand_A Auto
  193. Actor Property Erik_The_Slayer_A Auto
  194. Actor Property Jenessa_A Auto
  195. Actor Property Marcurio_A Auto
  196. Actor Property Stenvar_A Auto
  197. Actor Property Vorstag_A Auto
  198. ;-Housecarls
  199. Actor Property Argis_The_Bulwark_A Auto ;Favor250 15
  200. Actor Property Calder_A Auto ;favor254 15
  201. Actor Property Iona_A Auto ;FreeformThaneRiften 30
  202. Actor Property Jordis_The_Shield_Maiden_A Auto ;Favor252 15
  203. Actor Property Lydia_A Auto ;Favor253 15
  204. ;-HF Housecarls
  205. Actor Property Gregor_A Auto ;Favor256 15
  206. Actor Property Rayya_A Auto ;Favor258 15
  207. Actor Property Valdimar_A Auto ;Favor255 15
  208. ;-Orcs
  209. Actor Property Borgakh_The_Steel_Heart_A Auto
  210. Actor Property Gorbash_The_Iron_Hand_A Auto
  211. Actor Property Lob_A Auto ;DA06 Objective 120
  212. Actor Property Ogol_A Auto ;DA06 Objective 120
  213. Actor Property Ugor_A Auto ;DA06 Objective 120
  214. ;-Misc
  215. Actor Property Adelaisa_Vendicci_A Auto ;MS10MiscObjPointer Objective 80
  216. Actor Property Ahtar_A Auto ;Captain Hargar dead
  217. Actor Property Aranea_Lenith_A Auto ;DA01 Objective 80
  218. Actor Property Benor_A Auto
  219. Actor Property Cosnach_A Auto
  220. Actor Property Derkeethus_A Auto ;DarkwaterCrossingDerkeethusRescueQuest Objective 20
  221. Actor Property Faendal_A Auto ;FreeformRiverwood01 Objective 210
  222. Actor Property Sven_A Auto ;FreeformRiverwood01 Objective 220
  223. Actor Property Kharjo_A Auto ;FreeformCaravansA Objective 15
  224. Actor Property Mjoll_The_Lioness_A Auto ;FreeformRiften09 Objective 20
  225. Actor Property Uthegerd_The_Unbroken_A Auto
  226.  
  227. ;Viable Checks not found
  228. Actor Property Annekke_Crag_Jumper_A Auto
  229. Actor Property Roggi_Knot_Beard_A Auto
  230.  
  231. ;-Animals
  232. Actor Property Meeko_A Auto
  233. ;DG
  234. Actor Property BranHusky_A Auto
  235. Actor Property CusithDeathHound_A Auto
  236. Actor Property GarmrDeathHound_A Auto
  237. Actor Property SceolangHusky_A Auto
  238.  
  239. ;Quests and Checks--------------------------------------------------------
  240. Quest Property MGRAppBrelyna01_Obj30 Auto
  241. Quest Property MGRAppJzargo01_Obj30 Auto
  242. Quest Property MGRAppOnmund01_Obj40 Auto
  243. Quest Property DLC2MQ03_Frea_Obj70 Auto
  244. Quest Property DLC2TTF1_Talvas_Obj200 Auto
  245. Quest Property DA16_Erandur_Obj200 Auto
  246. Quest Property dunHillgrundsTombQST_Golldir_Obj100 Auto
  247. Quest Property dunDarklightQST_illia_Obj20 Auto
  248. Quest Property Favor250_ArgisBulwark_Obj15 Auto
  249. Quest Property favor254_Calder_Obj15 Auto
  250. Quest Property FreeformThaneRiften_Iona_Obj30 Auto
  251. Quest Property Favor252_JordisShieldMaiden_Obj15 Auto
  252. Quest Property Favor253_Lydia_Obj15 Auto
  253. Quest Property Favor256_Gregor_Obj15 Auto
  254. Quest Property Favor258_Rayya_Obj15 Auto
  255. Quest Property Favor255_Valdimar_Obj15 Auto
  256. Quest Property DA06_LobOgolUgor_Obj120 Auto
  257. Quest Property MS10MiscObjPointer_AdelaisaVendicci_Obj80 Auto
  258. Quest Property DA01_AraneaLenith_Obj80 Auto
  259. Quest Property DarkwaterCrossingDerkeethusRescueQuest_Obj20 Auto
  260. Quest Property FreeformRiverwood01_SvenObj220_FaendalObj210 Auto
  261. Quest Property FreeformCaravansA_Kharjo_Obj15 Auto
  262. Quest Property FreeformRiften09_Mjoll_Obj20 Auto
  263. Quest Property DLC1VQ02_DawnguardMain_Obj30DG_Obj!30Vamp Auto
  264. Quest Property DLC2MQ01_DragonbornMain_Obj10 Auto
  265. Quest Property DB11_DarkBrotherhoodEnd_Obj80 Auto
  266. Quest Property C06_CompanionsEnd_Obj70 Auto
  267. Quest Property DLC1VQ04_Serana_Obj120 Auto
  268.  
  269. Book Property Meeko_Book Auto ;IsRead()
  270. Actor Property CaptainHargar_AhtarCheck Auto
  271. ;-------------------------------------------------------------------------
  272. Event OnConfigInit()
  273. ModName = "Followers of Skyrim"
  274. Pages = new string[4]
  275. Pages[0] = "Skyrim"
  276. Pages[1] = "Dawnguard"
  277. Pages[2] = "Hearthfires"
  278. Pages[3] = "Dragonborn"
  279. EndEvent
  280.  
  281. Event OnGameReload()
  282. Parent.OnGameReload()
  283. Endevent
  284.  
  285. Event OnPageReset(String page)
  286. If (page == "")
  287. LoadCustomContent("BulwarkFollowerVector.dds")
  288. Return
  289. Else
  290. UnloadCustomContent()
  291. Endif
  292.  
  293. If (page == "Skyrim")
  294. SetCursorFillMode(TOP_TO_BOTTOM)
  295. AddHeaderOption("College of Winterhold")
  296. If (MGRAppBrelyna01_Obj30.IsObjectiveCompleted(30) == True) && !Brelya_Maryon_A.IsDead()
  297. OID_Brelya_Maryon = AddSliderOption("Brelya Maryon", Brelya_Maryon_G.GetValueInt())
  298. Else
  299. Endif
  300. If (MGRAppJzargo01_Obj30.IsObjectiveCompleted(30) == True) && !J'Zargo_A.IsDead()
  301. OID_J'Zargo = AddSliderOption("J'Zargo", J'Zargo_G.GetValueInt())
  302. Else
  303. Endif
  304. If (MGRAppOnmund01_Obj40.IsObjectiveCompleted(40) == True) && !Onmund_A.IsDead()
  305. OID_J'Zargo = AddSliderOption("Onmund", Onmund_G.GetValueInt())
  306. Else
  307. Endif
  308. AddEmptyOption()
  309. AddHeaderOption("The Companions")
  310. If (C06_CompanionsEnd_Obj70.IsObjectiveCompleted(70) == True)
  311. If !Aela_A.IsDead()
  312. OID_Aela = AddSliderOption("Aela", Aela_G.GetValueInt())
  313. Else
  314. Endif
  315. If !Athis_A.IsDead()
  316. OID_Athis = AddSliderOption("Athis", Athis_G.GetValueInt())
  317. Else
  318. Endif
  319. If !Farkas_A.IsDead()
  320. OID_Farkas = AddSliderOption("Farkas", Farkas_G.GetValueInt())
  321. Else
  322. Endif
  323. If !Njada_Stonearm_A.IsDead()
  324. OID_Njada_Stonearm = AddSliderOption("Njada Stonearm", Njada_Stonearm_G.GetValueInt())
  325. Else
  326. Endif
  327. If !Ria_A.IsDead()
  328. OID_Ria = AddSliderOption("Ria", Ria_G.GetValueInt())
  329. Else
  330. Endif
  331. If !Torvar_A.IsDead()
  332. OID_Torvar = AddSliderOption("Torvar", Torvar_G.GetValueInt())
  333. Else
  334. Endif
  335. If !Vilkas_A.IsDead()
  336. OID_Vilkas = AddSliderOption("Vilkas", Vilkas_G.GetValueInt())
  337. Else
  338. Endif
  339. Else
  340. Endif
  341. AddEmptyOption()
  342. AddHeaderOption("The Dark Brotherhood")
  343. If (DB11_DarkBrotherhoodEnd_Obj80.IsObjectiveCompleted(80) == True) && !Cicero_A.IsDead()
  344. OID_Cicero = AddSliderOption("Cicero", Cicero_G.GetValueInt())
  345. Else
  346. Endif
  347. AddEmptyOption()
  348. AddHeaderOption("Dungeon Quest Followers")
  349. If (DA16_Erandur_Obj200.IsObjectiveCompleted(200) == True) && !Erandur_A.IsDead()
  350. OID_Erandur = AddSliderOption("Cicero", Erandur_G.GetValueInt())
  351. Else
  352. Endif
  353. If (dunHillgrundsTombQST_Golldir_Obj100.IsObjectiveCompleted(100) == True) && !Golldir_A.IsDead()
  354. OID_Golldir = AddSliderOption("Golldir", Golldir_G.GetValueInt())
  355. Else
  356. Endif
  357. If (dunDarklightQST_illia_Obj20.IsObjectiveCompleted(20) == True) && !illia_A.IsDead()
  358. OID_illia = AddSliderOption("illia", illia_G.GetValueInt())
  359. Else
  360. Endif
  361. AddEmptyOption()
  362. AddHeaderOption("Mercenaries")
  363. If !Belrand_A.IsDead()
  364. OID_Belrand = AddSliderOption("Belrand", Belrand_G.GetValueInt())
  365. Else
  366. Endif
  367. If !Vorstag_A.IsDead()
  368. OID_Vorstag = AddSliderOption("Vorstag", Vorstag_G.GetValueInt())
  369. Else
  370. Endif
  371. If !Erik_The_Slayer_A.IsDead()
  372. OID_Erik_The_Slayer = AddSliderOption("Erik The Slayer", Erik_The_Slayer_G.GetValueInt())
  373. Else
  374. Endif
  375. If !Jenessa_A.IsDead()
  376. OID_Jenessa = AddSliderOption("Jenessa", Jenessa_G.GetValueInt())
  377. Else
  378. Endif
  379. If !Marcurio_A.IsDead()
  380. OID_Marcurio = AddSliderOption("Marcurio", Marcurio_G.GetValueInt())
  381. Else
  382. Endif
  383. If !Stenvar_A.IsDead()
  384. OID_Stenvar = AddSliderOption("Stenvar", Vilkas_G.GetValueInt())
  385. Else
  386. Endif
  387. AddEmptyOption()
  388. AddHeaderOption("Housecarls")
  389. If (Favor250_ArgisBulwark_Obj15.IsObjectiveCompleted(15) == True) && !Argis_The_Bulwark_A.IsDead()
  390. OID_Argis_The_Bulwark = AddSliderOption("Argis The Bulwark", Argis_The_Bulwark_G.GetValueInt())
  391. Else
  392. Endif
  393. If (favor254_Calder_Obj15.IsObjectiveCompleted(15) == True) && !Calder_A.IsDead()
  394. OID_Calder = AddSliderOption("Calder", Calder_G.GetValueInt())
  395. Else
  396. Endif
  397. If (FreeformThaneRiften_Iona_Obj30.IsObjectiveCompleted(30) == True) && !Iona_A.IsDead()
  398. OID_Iona = AddSliderOption("Iona", Iona_G.GetValueInt())
  399. Else
  400. Endif
  401. If (Favor252_JordisShieldMaiden_Obj15.IsObjectiveCompleted(15) == True) && !Jordis_The_Shield_Maiden_A.IsDead()
  402. OID_Jordis_The_Shield_Maiden = AddSliderOption("Jordis Shield Maiden", Jordis_The_Shield_Maiden_G.GetValueInt())
  403. Else
  404. Endif
  405. If (Favor253_Lydia_Obj15.IsObjectiveCompleted(15) == True) && !Lydia_A.IsDead()
  406. OID_Lydia = AddSliderOption("Lydia", Lydia_G.GetValueInt())
  407. Else
  408. Endif
  409. AddEmptyOption()
  410. AddHeaderOption("Stronghold Orcs")
  411. If !Borgakh_The_Steel_Heart_A.IsDead()
  412. OID_Borgakh_The_Steel_Heart = AddSliderOption("Borgakh SteelHeart", Borgakh_The_Steel_Heart_G.GetValueInt())
  413. Else
  414. Endif
  415. If !Gorbash_The_Iron_Hand_A.IsDead()
  416. OID_Gorbash_The_Iron_Hand = AddSliderOption("Gorbash IronHand", Gorbash_The_Iron_Hand_G.GetValueInt())
  417. Else
  418. Endif
  419. If (DA06_LobOgolUgor_Obj120.IsObjectiveCompleted(120) == True) && !Lob_A.IsDead()
  420. OID_Lob = AddSliderOption("Lob", Lob_G.GetValueInt())
  421. Else
  422. Endif
  423. If (DA06_LobOgolUgor_Obj120.IsObjectiveCompleted(120) == True) && !Ogol_A.IsDead()
  424. OID_Ogol = AddSliderOption("Ogol", Ogol_G.GetValueInt())
  425. Else
  426. Endif
  427. If (DA06_LobOgolUgor_Obj120.IsObjectiveCompleted(120) == True) && !Ugor_A.IsDead()
  428. OID_Ugor = AddSliderOption("Ugor", Ugor_G.GetValueInt())
  429. Else
  430. Endif
  431. AddEmptyOption()
  432. AddHeaderOption("Misc")
  433. If (MS10MiscObjPointer_AdelaisaVendicci_Obj80.IsObjectiveCompleted(80) == True) && !Adelaisa_Vendicci_A.IsDead()
  434. OID_Adelaisa_Vendicci = AddSliderOption("Ugor", Adelaisa_Vendicci_G.GetValueInt())
  435. Else
  436. Endif
  437. If (DA01_AraneaLenith_Obj80.IsObjectiveCompleted(80) == True) && !Aranea_Lenith_A.IsDead()
  438. OID_Aranea_Lenith = AddSliderOption("Aranea Lenith", Aranea_Lenith_G.GetValueInt())
  439. Else
  440. Endif
  441. If (DarkwaterCrossingDerkeethusRescueQuest_Obj20.IsObjectiveCompleted(20) == True) && !Derkeethus_A.IsDead()
  442. OID_Derkeethus = AddSliderOption("Derkeethus", Derkeethus_G.GetValueInt())
  443. Else
  444. Endif
  445. If (FreeformRiverwood01_SvenObj220_FaendalObj210.IsObjectiveCompleted(210) == True) && !Faendal_A.IsDead()
  446. OID_Faendal = AddSliderOption("Faendal", Faendal_G.GetValueInt())
  447. Else
  448. Endif
  449. If (FreeformRiverwood01_SvenObj220_FaendalObj210.IsObjectiveCompleted(220) == True) && !Sven_A.IsDead()
  450. OID_Sven = AddSliderOption("Sven", Sven_G.GetValueInt())
  451. Else
  452. Endif
  453. If (FreeformCaravansA_Kharjo_Obj15.IsObjectiveCompleted(15) == True) && !Kharjo_A.IsDead()
  454. OID_Kharjo = AddSliderOption("Kharjo", Kharjo_G.GetValueInt())
  455. Else
  456. Endif
  457. If (FreeformRiften09_Mjoll_Obj20.IsObjectiveCompleted(20) == True) && !Mjoll_The_Lioness_A.IsDead()
  458. OID_Mjoll_The_Lioness = AddSliderOption("Mjoll The Lioness", Mjoll_The_Lioness_G.GetValueInt())
  459. Else
  460. Endif
  461. If !Uthegerd_The_Unbroken_A.IsDead()
  462. OID_Uthegerd_The_Unbroken = AddSliderOption("Uthegerd The Unbroken", Uthegerd_The_Unbroken_G.GetValueInt())
  463. Else
  464. Endif
  465. If !Benor_A.IsDead()
  466. OID_Benor = AddSliderOption("Benor", Benor_G.GetValueInt())
  467. Else
  468. Endif
  469. If !Cosnach_A.IsDead()
  470. OID_Cosnach = AddSliderOption("Cosnach", Cosnach_G.GetValueInt())
  471. Else
  472. Endif
  473. If !Ahtar_A.IsDead() && CaptainHargar_AhtarCheck.IsDead()
  474. OID_Ahtar = AddSliderOption("Ahtar", Ahtar_G.GetValueInt())
  475. Else
  476. Endif
  477. AddEmptyOption()
  478. AddHeaderOption("Animals")
  479. If !Meeko_A.IsDead() && Meeko_Book.IsRead()
  480. OID_Meeko = AddSliderOption("Meeko", Meeko_G.GetValueInt())
  481. Else
  482. AddEmptyOption()
  483. AddHeaderOption("USE AT OWN RISK, NO VIABLE CHECKS FOUND")
  484. If !Annekke_Crag_Jumper_A.IsDead()
  485. OID_Annekke_Crag_Jumper = AddSliderOption("Annekke Crag Jumper", Annekke_Crag_Jumper_G.GetValueInt())
  486. Else
  487. If !Roggi_Knot_Beard_A.IsDead()
  488. OID_Roggi_Knot_Beard = AddSliderOption("Roggi KnotBeard", Roggi_Knot_Beard_G.GetValueInt())
  489. Else
  490. Elseif (page == "Dawnguard")
  491. SetCursorFillMode(TOP_TO_BOTTOM)
  492. AddHeaderOption("Serana")
  493. If (DLC1VQ04_Serana_Obj120.IsObjectiveCompleted(120) == True) && !Serana_A.IsDead()
  494. OID_Serana = AddSliderOption("Serana", Serana_G.GetValueInt())
  495. Else
  496. Endif
  497. AddEmptyOption()
  498. AddHeaderOption("Dawnguard NPCs")
  499. If (DLC1VQ02_DawnguardMain_Obj30DG_Obj!30Vamp.IsObjectiveCompleted(30) == True)
  500. If !Agmaer_A.IsDead()
  501. OID_Agmaer = AddSliderOption("Agmaer", Agmaer_G.GetValueInt())
  502. Else
  503. Endif
  504. If !Beleval_A.IsDead()
  505. OID_Beleval = AddSliderOption("Beleval", Beleval_G.GetValueInt())
  506. Else
  507. Endif
  508. If !Celann_A.IsDead()
  509. OID_Celann = AddSliderOption("Celann", Celann_G.GetValueInt())
  510. Else
  511. Endif
  512. If !Durak_A.IsDead()
  513. OID_Durak = AddSliderOption("Durak", Durak_G.GetValueInt())
  514. Else
  515. Endif
  516. If !Ingard_A.IsDead()
  517. OID_Ingard = AddSliderOption("Ingard", Ingard_G.GetValueInt())
  518. Else
  519. Endif
  520. If !BranHusky_A.IsDead()
  521. OID_BranHusky = AddSliderOption("Bran", BranHusky_G.GetValueInt())
  522. Else
  523. Endif
  524. If !SceolangHusky_A.IsDead()
  525. OID_SceolangHusky = AddSliderOption("Sceolang", SceolangHusky_G.GetValueInt())
  526. Else
  527. Endif
  528. Elseif (DLC1VQ02_DawnguardMain_Obj30DG_Obj!30Vamp.IsObjectiveCompleted(30) == False) && (DLC1VQ02_DawnguardMain_Obj30DG_Obj!30Vamp.IsCompleted())
  529. If !CusithDeathHound_A.IsDead()
  530. OID_CusithDeathHound = AddSliderOption("Cusith", CusithDeathHound_G.GetValueInt())
  531. Else
  532. Endif
  533. If !GarmrDeathHound_A.IsDead()
  534. OID_GarmrDeathHound = AddSliderOption("Garmr", GarmrDeathHound_G.GetValueInt())
  535. Else
  536. Endif
  537. Endif
  538.  
  539. Elseif (page == "Hearthfires")
  540. SetCursorFillMode(TOP_TO_BOTTOM)
  541. AddHeaderOption("Hearthfires Housecarls")
  542. If (Favor256_Gregor_Obj15.IsObjectiveCompleted(15) == True) && !Gregor_A.IsDead()
  543. OID_Gregor = AddSliderOption("Gregor", Gregor_G.GetValueInt())
  544. Else
  545. Endif
  546. If (Favor258_Rayya_Obj15.IsObjectiveCompleted(15) == True) && !Rayya_A.IsDead()
  547. OID_Rayya = AddSliderOption("Rayya", Rayya_G.GetValueInt())
  548. Else
  549. Endif
  550. If (Favor255_Valdimar_Obj15.IsObjectiveCompleted(15) == True) && !Valdimar_A.IsDead()
  551. OID_Valdimar = AddSliderOption("Valdimar", Valdimar_G.GetValueInt())
  552. Else
  553. Endif
  554. Elseif (page == "Dragonborn")
  555. SetCursorFillMode(TOP_TO_BOTTOM)
  556. AddHeaderOption("Dragonborn Followers")
  557. If (Favor255_Valdimar_Obj15.IsObjectiveCompleted(15) == True)
  558. If !Teldryn_Sero_A.IsDead()
  559. OID_Teldryn_Sero = AddSliderOption("Teldryn Sero", Teldryn_Sero_G.GetValueInt())
  560. Else
  561. Endif
  562. If (DLC2MQ03_Frea_Obj70.IsObjectiveCompleted(70) == True) && !Frea_A.IsDead()
  563. OID_Frea = AddSliderOption("Frea", Frea_G.GetValueInt())
  564. Else
  565. Endif
  566. If (DLC2TTF1_Talvas_Obj200.IsObjectiveCompleted(200) == True) && !Talvas_A.IsDead()
  567. OID_Talvas = AddSliderOption("Talvas", Talvas_G.GetValueInt())
  568. Else
  569. Endif
  570. Else
  571. Endif
  572. Endif
  573. EndEvent
  574.  
  575. Event OnOptionHighlight(int option)
  576. If (option == OID_Brelya_Maryon)
  577. SetInfoText ("Set to 1 to summon this follower")
  578. Elseif (option == OID_J'Zargo)
  579. SetInfoText ("Set to 1 to summon this follower")
  580. Elseif (option == OID_Aela)
  581. SetInfoText ("Set to 1 to summon this follower")
  582. Elseif (option == OID_Athis)
  583. SetInfoText ("Set to 1 to summon this follower")
  584. Elseif (option == OID_Farkas)
  585. SetInfoText ("Set to 1 to summon this follower")
  586. Elseif (option == OID_Njada_Stonearm)
  587. SetInfoText ("Set to 1 to summon this follower")
  588. Elseif (option == OID_Ria)
  589. SetInfoText ("Set to 1 to summon this follower")
  590. Elseif (option == OID_Torvar)
  591. SetInfoText ("Set to 1 to summon this follower")
  592. Elseif (option == OID_Vilkas)
  593. SetInfoText ("Set to 1 to summon this follower")
  594. Elseif (option == OID_Cicero)
  595. SetInfoText ("Set to 1 to summon this follower")
  596. Elseif (option == OID_Agmaer)
  597. SetInfoText ("Set to 1 to summon this follower")
  598. Elseif (option == OID_Beleval)
  599. SetInfoText ("Set to 1 to summon this follower")
  600. Elseif (option == OID_Celann)
  601. SetInfoText ("Set to 1 to summon this follower")
  602. Elseif (option == OID_Durak)
  603. SetInfoText ("Set to 1 to summon this follower")
  604. Elseif (option == OID_Ingard)
  605. SetInfoText ("Set to 1 to summon this follower")
  606. Elseif (option == OID_Serana)
  607. SetInfoText ("Set to 1 to summon this follower")
  608. Elseif (option == OID_Frea)
  609. SetInfoText ("Set to 1 to summon this follower")
  610. Elseif (option == OID_Talvas)
  611. SetInfoText ("Set to 1 to summon this follower")
  612. Elseif (option == OID_Teldryn_Sero)
  613. SetInfoText ("Set to 1 to summon this follower")
  614. Elseif (option == OID_Erandur)
  615. SetInfoText ("Set to 1 to summon this follower")
  616. Elseif (option == OID_Golldir)
  617. SetInfoText ("Set to 1 to summon this follower")
  618. Elseif (option == OID_illia)
  619. SetInfoText ("Set to 1 to summon this follower")
  620. Elseif (option == OID_Belrand)
  621. SetInfoText ("Set to 1 to summon this follower")
  622. Elseif (option == OID_Erik_The_Slayer)
  623. SetInfoText ("Set to 1 to summon this follower")
  624. Elseif (option == OID_Jenessa)
  625. SetInfoText ("Set to 1 to summon this follower")
  626. Elseif (option == OID_Marcurio)
  627. SetInfoText ("Set to 1 to summon this follower")
  628. Elseif (option == OID_Stenvar)
  629. SetInfoText ("Set to 1 to summon this follower")
  630. Elseif (option == OID_Vorstag)
  631. SetInfoText ("Set to 1 to summon this follower")
  632. Elseif (option == OID_Argis_The_Bulwark)
  633. SetInfoText ("Set to 1 to summon this follower")
  634. Elseif (option == OID_Calder)
  635. SetInfoText ("Set to 1 to summon this follower")
  636. Elseif (option == OID_Iona)
  637. SetInfoText ("Set to 1 to summon this follower")
  638. Elseif (option == OID_Jordis_The_Shield_Maiden)
  639. SetInfoText ("Set to 1 to summon this follower")
  640. Elseif (option == OID_Lydia)
  641. SetInfoText ("Set to 1 to summon this follower")
  642. Elseif (option == OID_Gregor)
  643. SetInfoText ("Set to 1 to summon this follower")
  644. Elseif (option == OID_Rayya)
  645. SetInfoText ("Set to 1 to summon this follower")
  646. Elseif (option == OID_Valdimar)
  647. SetInfoText ("Set to 1 to summon this follower")
  648. Elseif (option == )
  649. SetInfoText ("Set to 1 to summon this follower")
  650. Elseif (option == OID_Borgakh_The_Steel_Heart)
  651. SetInfoText ("Set to 1 to summon this follower")
  652. Elseif (option == OID_Gorbash_The_Iron_Hand)
  653. SetInfoText ("Set to 1 to summon this follower")
  654. Elseif (option == OID_Lob)
  655. SetInfoText ("Set to 1 to summon this follower")
  656. Elseif (option == OID_Ogol)
  657. SetInfoText ("Set to 1 to summon this follower")
  658. Elseif (option == OID_Ugor)
  659. SetInfoText ("Set to 1 to summon this follower")
  660. Elseif (option == OID_Borgakh_The_Steel_Heart)
  661. SetInfoText ("Set to 1 to summon this follower")
  662. Elseif (option == OID_Gorbash_The_Iron_Hand)
  663. SetInfoText ("Set to 1 to summon this follower")
  664. Elseif (option == OID_Lob)
  665. SetInfoText ("Set to 1 to summon this follower")
  666. Elseif (option == OID_Ogol)
  667. SetInfoText ("Set to 1 to summon this follower")
  668. Elseif (option == OID_Ugor)
  669. SetInfoText ("Set to 1 to summon this follower")
  670. Elseif (option == OID_Adelaisa_Vendicci)
  671. SetInfoText ("Set to 1 to summon this follower")
  672. Elseif (option == OID_Aranea_Lenith)
  673. SetInfoText ("Set to 1 to summon this follower")
  674. Elseif (option == OID_Derkeethus)
  675. SetInfoText ("Set to 1 to summon this follower")
  676. Elseif (option == OID_Faendal)
  677. SetInfoText ("Set to 1 to summon this follower")
  678. Elseif (option == OID_Sven)
  679. SetInfoText ("Set to 1 to summon this follower")
  680. Elseif (option == OID_Kharjo)
  681. SetInfoText ("Set to 1 to summon this follower")
  682. Elseif (option == OID_Mjoll_The_Lioness)
  683. SetInfoText ("Set to 1 to summon this follower")
  684. Elseif (option == OID_Uthegerd_The_Unbroken)
  685. SetInfoText ("Set to 1 to summon this follower")
  686. Elseif (option == OID_Benor)
  687. SetInfoText ("Set to 1 to summon this follower")
  688. Elseif (option == OID_Cosnach)
  689. SetInfoText ("Set to 1 to summon this follower")
  690. Elseif (option == OID_Ahtar)
  691. SetInfoText ("Set to 1 to summon this follower")
  692. Elseif (option == OID_Annekke_Crag_Jumper)
  693. SetInfoText ("Set to 1 to summon this follower")
  694. Elseif (option == OID_Roggi_Knot_Beard)
  695. SetInfoText ("Set to 1 to summon this follower")
  696. Elseif (option == OID_Meeko)
  697. SetInfoText ("Set to 1 to summon this follower")
  698. Elseif (option == OID_BranHusky)
  699. SetInfoText ("Set to 1 to summon this follower")
  700. Elseif (option == OID_CusithDeathHound)
  701. SetInfoText ("Set to 1 to summon this follower")
  702. Elseif (option == OID_GarmrDeathHound)
  703. SetInfoText ("Set to 1 to summon this follower")
  704. Elseif (option == OID_SceolangHusky)
  705. SetInfoText ("Set to 1 to summon this follower")
  706. Endif
  707. EndEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement