Advertisement
GrandBulwark

Untitled

Feb 26th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.17 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_Onmund)
  581. SetInfoText ("Set to 1 to summon this follower")
  582. Elseif (option == OID_Aela)
  583. SetInfoText ("Set to 1 to summon this follower")
  584. Elseif (option == OID_Athis)
  585. SetInfoText ("Set to 1 to summon this follower")
  586. Elseif (option == OID_Farkas)
  587. SetInfoText ("Set to 1 to summon this follower")
  588. Elseif (option == OID_Njada_Stonearm)
  589. SetInfoText ("Set to 1 to summon this follower")
  590. Elseif (option == OID_Ria)
  591. SetInfoText ("Set to 1 to summon this follower")
  592. Elseif (option == OID_Torvar)
  593. SetInfoText ("Set to 1 to summon this follower")
  594. Elseif (option == OID_Vilkas)
  595. SetInfoText ("Set to 1 to summon this follower")
  596. Elseif (option == OID_Cicero)
  597. SetInfoText ("Set to 1 to summon this follower")
  598. Elseif (option == OID_Agmaer)
  599. SetInfoText ("Set to 1 to summon this follower")
  600. Elseif (option == OID_Beleval)
  601. SetInfoText ("Set to 1 to summon this follower")
  602. Elseif (option == OID_Celann)
  603. SetInfoText ("Set to 1 to summon this follower")
  604. Elseif (option == OID_Durak)
  605. SetInfoText ("Set to 1 to summon this follower")
  606. Elseif (option == OID_Ingard)
  607. SetInfoText ("Set to 1 to summon this follower")
  608. Elseif (option == OID_Serana)
  609. SetInfoText ("Set to 1 to summon this follower")
  610. Elseif (option == OID_Frea)
  611. SetInfoText ("Set to 1 to summon this follower")
  612. Elseif (option == OID_Talvas)
  613. SetInfoText ("Set to 1 to summon this follower")
  614. Elseif (option == OID_Teldryn_Sero)
  615. SetInfoText ("Set to 1 to summon this follower")
  616. Elseif (option == OID_Erandur)
  617. SetInfoText ("Set to 1 to summon this follower")
  618. Elseif (option == OID_Golldir)
  619. SetInfoText ("Set to 1 to summon this follower")
  620. Elseif (option == OID_illia)
  621. SetInfoText ("Set to 1 to summon this follower")
  622. Elseif (option == OID_Belrand)
  623. SetInfoText ("Set to 1 to summon this follower")
  624. Elseif (option == OID_Erik_The_Slayer)
  625. SetInfoText ("Set to 1 to summon this follower")
  626. Elseif (option == OID_Jenessa)
  627. SetInfoText ("Set to 1 to summon this follower")
  628. Elseif (option == OID_Marcurio)
  629. SetInfoText ("Set to 1 to summon this follower")
  630. Elseif (option == OID_Stenvar)
  631. SetInfoText ("Set to 1 to summon this follower")
  632. Elseif (option == OID_Vorstag)
  633. SetInfoText ("Set to 1 to summon this follower")
  634. Elseif (option == OID_Argis_The_Bulwark)
  635. SetInfoText ("Set to 1 to summon this follower")
  636. Elseif (option == OID_Calder)
  637. SetInfoText ("Set to 1 to summon this follower")
  638. Elseif (option == OID_Iona)
  639. SetInfoText ("Set to 1 to summon this follower")
  640. Elseif (option == OID_Jordis_The_Shield_Maiden)
  641. SetInfoText ("Set to 1 to summon this follower")
  642. Elseif (option == OID_Lydia)
  643. SetInfoText ("Set to 1 to summon this follower")
  644. Elseif (option == OID_Gregor)
  645. SetInfoText ("Set to 1 to summon this follower")
  646. Elseif (option == OID_Rayya)
  647. SetInfoText ("Set to 1 to summon this follower")
  648. Elseif (option == OID_Valdimar)
  649. SetInfoText ("Set to 1 to summon this follower")
  650. Elseif (option == )
  651. SetInfoText ("Set to 1 to summon this follower")
  652. Elseif (option == OID_Borgakh_The_Steel_Heart)
  653. SetInfoText ("Set to 1 to summon this follower")
  654. Elseif (option == OID_Gorbash_The_Iron_Hand)
  655. SetInfoText ("Set to 1 to summon this follower")
  656. Elseif (option == OID_Lob)
  657. SetInfoText ("Set to 1 to summon this follower")
  658. Elseif (option == OID_Ogol)
  659. SetInfoText ("Set to 1 to summon this follower")
  660. Elseif (option == OID_Ugor)
  661. SetInfoText ("Set to 1 to summon this follower")
  662. Elseif (option == OID_Borgakh_The_Steel_Heart)
  663. SetInfoText ("Set to 1 to summon this follower")
  664. Elseif (option == OID_Gorbash_The_Iron_Hand)
  665. SetInfoText ("Set to 1 to summon this follower")
  666. Elseif (option == OID_Lob)
  667. SetInfoText ("Set to 1 to summon this follower")
  668. Elseif (option == OID_Ogol)
  669. SetInfoText ("Set to 1 to summon this follower")
  670. Elseif (option == OID_Ugor)
  671. SetInfoText ("Set to 1 to summon this follower")
  672. Elseif (option == OID_Adelaisa_Vendicci)
  673. SetInfoText ("Set to 1 to summon this follower")
  674. Elseif (option == OID_Aranea_Lenith)
  675. SetInfoText ("Set to 1 to summon this follower")
  676. Elseif (option == OID_Derkeethus)
  677. SetInfoText ("Set to 1 to summon this follower")
  678. Elseif (option == OID_Faendal)
  679. SetInfoText ("Set to 1 to summon this follower")
  680. Elseif (option == OID_Sven)
  681. SetInfoText ("Set to 1 to summon this follower")
  682. Elseif (option == OID_Kharjo)
  683. SetInfoText ("Set to 1 to summon this follower")
  684. Elseif (option == OID_Mjoll_The_Lioness)
  685. SetInfoText ("Set to 1 to summon this follower")
  686. Elseif (option == OID_Uthegerd_The_Unbroken)
  687. SetInfoText ("Set to 1 to summon this follower")
  688. Elseif (option == OID_Benor)
  689. SetInfoText ("Set to 1 to summon this follower")
  690. Elseif (option == OID_Cosnach)
  691. SetInfoText ("Set to 1 to summon this follower")
  692. Elseif (option == OID_Ahtar)
  693. SetInfoText ("Set to 1 to summon this follower")
  694. Elseif (option == OID_Annekke_Crag_Jumper)
  695. SetInfoText ("Set to 1 to summon this follower")
  696. Elseif (option == OID_Roggi_Knot_Beard)
  697. SetInfoText ("Set to 1 to summon this follower")
  698. Elseif (option == OID_Meeko)
  699. SetInfoText ("Set to 1 to summon this follower")
  700. Elseif (option == OID_BranHusky)
  701. SetInfoText ("Set to 1 to summon this follower")
  702. Elseif (option == OID_CusithDeathHound)
  703. SetInfoText ("Set to 1 to summon this follower")
  704. Elseif (option == OID_GarmrDeathHound)
  705. SetInfoText ("Set to 1 to summon this follower")
  706. Elseif (option == OID_SceolangHusky)
  707. SetInfoText ("Set to 1 to summon this follower")
  708. Endif
  709. EndEvent
  710.  
  711. Event OnOptionSliderOpen(int option)
  712. If (option == OID_Brelya_Maryon)
  713. SetSliderDialogStartValue (0)
  714. SetSliderDialogDefaultValue (0)
  715. SetSliderDialogRange (0, 1)
  716. SetSliderDialogInterval (1)
  717. Elseif (option == OID_J'Zargo)
  718. SetSliderDialogStartValue (0)
  719. SetSliderDialogDefaultValue (0)
  720. SetSliderDialogRange (0, 1)
  721. SetSliderDialogInterval (1)
  722. Elseif (option == OID_Onmund)
  723. SetSliderDialogStartValue (0)
  724. SetSliderDialogDefaultValue (0)
  725. SetSliderDialogRange (0, 1)
  726. SetSliderDialogInterval (1)
  727. Elseif (option == OID_Aela)
  728. SetSliderDialogStartValue (0)
  729. SetSliderDialogDefaultValue (0)
  730. SetSliderDialogRange (0, 1)
  731. SetSliderDialogInterval (1)
  732. Elseif (option == OID_Athis)
  733. SetSliderDialogStartValue (0)
  734. SetSliderDialogDefaultValue (0)
  735. SetSliderDialogRange (0, 1)
  736. SetSliderDialogInterval (1)
  737. Elseif (option == OID_Farkas)
  738. SetSliderDialogStartValue (0)
  739. SetSliderDialogDefaultValue (0)
  740. SetSliderDialogRange (0, 1)
  741. SetSliderDialogInterval (1)
  742. Elseif (option == OID_Njada_Stonearm)
  743. SetSliderDialogStartValue (0)
  744. SetSliderDialogDefaultValue (0)
  745. SetSliderDialogRange (0, 1)
  746. SetSliderDialogInterval (1)
  747. Elseif (option == OID_Ria)
  748. SetSliderDialogStartValue (0)
  749. SetSliderDialogDefaultValue (0)
  750. SetSliderDialogRange (0, 1)
  751. SetSliderDialogInterval (1)
  752. Elseif (option == OID_Torvar)
  753. SetSliderDialogStartValue (0)
  754. SetSliderDialogDefaultValue (0)
  755. SetSliderDialogRange (0, 1)
  756. SetSliderDialogInterval (1)
  757. Elseif (option == OID_Vilkas)
  758. SetSliderDialogStartValue (0)
  759. SetSliderDialogDefaultValue (0)
  760. SetSliderDialogRange (0, 1)
  761. SetSliderDialogInterval (1)
  762. Elseif (option == OID_Cicero)
  763. SetSliderDialogStartValue (0)
  764. SetSliderDialogDefaultValue (0)
  765. SetSliderDialogRange (0, 1)
  766. SetSliderDialogInterval (1)
  767. Elseif (option == OID_Agmaer)
  768. SetSliderDialogStartValue (0)
  769. SetSliderDialogDefaultValue (0)
  770. SetSliderDialogRange (0, 1)
  771. SetSliderDialogInterval (1)
  772. Elseif (option == OID_Beleval)
  773. SetSliderDialogStartValue (0)
  774. SetSliderDialogDefaultValue (0)
  775. SetSliderDialogRange (0, 1)
  776. SetSliderDialogInterval (1)
  777. Elseif (option == OID_Celann)
  778. SetSliderDialogStartValue (0)
  779. SetSliderDialogDefaultValue (0)
  780. SetSliderDialogRange (0, 1)
  781. SetSliderDialogInterval (1)
  782. Elseif (option == OID_Durak)
  783. SetSliderDialogStartValue (0)
  784. SetSliderDialogDefaultValue (0)
  785. SetSliderDialogRange (0, 1)
  786. SetSliderDialogInterval (1)
  787. Elseif (option == OID_Ingard)
  788. SetSliderDialogStartValue (0)
  789. SetSliderDialogDefaultValue (0)
  790. SetSliderDialogRange (0, 1)
  791. SetSliderDialogInterval (1)
  792. Elseif (option == OID_Serana)
  793. SetSliderDialogStartValue (0)
  794. SetSliderDialogDefaultValue (0)
  795. SetSliderDialogRange (0, 1)
  796. SetSliderDialogInterval (1)
  797. Elseif (option == OID_Frea)
  798. SetSliderDialogStartValue (0)
  799. SetSliderDialogDefaultValue (0)
  800. SetSliderDialogRange (0, 1)
  801. SetSliderDialogInterval (1)
  802. Elseif (option == OID_Talvas)
  803. SetSliderDialogStartValue (0)
  804. SetSliderDialogDefaultValue (0)
  805. SetSliderDialogRange (0, 1)
  806. SetSliderDialogInterval (1)
  807. Elseif (option == OID_Teldryn_Sero)
  808. SetSliderDialogStartValue (0)
  809. SetSliderDialogDefaultValue (0)
  810. SetSliderDialogRange (0, 1)
  811. SetSliderDialogInterval (1)
  812. Elseif (option == OID_Erandur)
  813. SetSliderDialogStartValue (0)
  814. SetSliderDialogDefaultValue (0)
  815. SetSliderDialogRange (0, 1)
  816. SetSliderDialogInterval (1)
  817. Elseif (option == OID_Golldir)
  818. SetSliderDialogStartValue (0)
  819. SetSliderDialogDefaultValue (0)
  820. SetSliderDialogRange (0, 1)
  821. SetSliderDialogInterval (1)
  822. Elseif (option == OID_illia)
  823. SetSliderDialogStartValue (0)
  824. SetSliderDialogDefaultValue (0)
  825. SetSliderDialogRange (0, 1)
  826. SetSliderDialogInterval (1)
  827. Elseif (option == OID_Belrand)
  828. SetSliderDialogStartValue (0)
  829. SetSliderDialogDefaultValue (0)
  830. SetSliderDialogRange (0, 1)
  831. SetSliderDialogInterval (1)
  832. Elseif (option == OID_Erik_The_Slayer)
  833. SetSliderDialogStartValue (0)
  834. SetSliderDialogDefaultValue (0)
  835. SetSliderDialogRange (0, 1)
  836. SetSliderDialogInterval (1)
  837. Elseif (option == OID_Jenessa)
  838. SetSliderDialogStartValue (0)
  839. SetSliderDialogDefaultValue (0)
  840. SetSliderDialogRange (0, 1)
  841. SetSliderDialogInterval (1)
  842. Elseif (option == OID_Marcurio)
  843. SetSliderDialogStartValue (0)
  844. SetSliderDialogDefaultValue (0)
  845. SetSliderDialogRange (0, 1)
  846. SetSliderDialogInterval (1)
  847. Elseif (option == OID_Stenvar)
  848. SetSliderDialogStartValue (0)
  849. SetSliderDialogDefaultValue (0)
  850. SetSliderDialogRange (0, 1)
  851. SetSliderDialogInterval (1)
  852. Elseif (option == OID_Vorstag)
  853. SetSliderDialogStartValue (0)
  854. SetSliderDialogDefaultValue (0)
  855. SetSliderDialogRange (0, 1)
  856. SetSliderDialogInterval (1)
  857. Elseif (option == OID_Argis_The_Bulwark)
  858. SetSliderDialogStartValue (0)
  859. SetSliderDialogDefaultValue (0)
  860. SetSliderDialogRange (0, 1)
  861. SetSliderDialogInterval (1)
  862. Elseif (option == OID_Calder)
  863. SetSliderDialogStartValue (0)
  864. SetSliderDialogDefaultValue (0)
  865. SetSliderDialogRange (0, 1)
  866. SetSliderDialogInterval (1)
  867. Elseif (option == OID_Iona)
  868. SetSliderDialogStartValue (0)
  869. SetSliderDialogDefaultValue (0)
  870. SetSliderDialogRange (0, 1)
  871. SetSliderDialogInterval (1)
  872. Elseif (option == OID_Jordis_The_Shield_Maiden)
  873. SetSliderDialogStartValue (0)
  874. SetSliderDialogDefaultValue (0)
  875. SetSliderDialogRange (0, 1)
  876. SetSliderDialogInterval (1)
  877. Elseif (option == OID_Lydia)
  878. SetSliderDialogStartValue (0)
  879. SetSliderDialogDefaultValue (0)
  880. SetSliderDialogRange (0, 1)
  881. SetSliderDialogInterval (1)
  882. Elseif (option == OID_Gregor)
  883. SetSliderDialogStartValue (0)
  884. SetSliderDialogDefaultValue (0)
  885. SetSliderDialogRange (0, 1)
  886. SetSliderDialogInterval (1)
  887. Elseif (option == OID_Rayya)
  888. SetSliderDialogStartValue (0)
  889. SetSliderDialogDefaultValue (0)
  890. SetSliderDialogRange (0, 1)
  891. SetSliderDialogInterval (1)
  892. Elseif (option == OID_Valdimar)
  893. SetSliderDialogStartValue (0)
  894. SetSliderDialogDefaultValue (0)
  895. SetSliderDialogRange (0, 1)
  896. SetSliderDialogInterval (1)
  897. Elseif (option == )
  898. SetSliderDialogStartValue (0)
  899. SetSliderDialogDefaultValue (0)
  900. SetSliderDialogRange (0, 1)
  901. SetSliderDialogInterval (1)
  902. Elseif (option == OID_Borgakh_The_Steel_Heart)
  903. SetSliderDialogStartValue (0)
  904. SetSliderDialogDefaultValue (0)
  905. SetSliderDialogRange (0, 1)
  906. SetSliderDialogInterval (1)
  907. Elseif (option == OID_Gorbash_The_Iron_Hand)
  908. SetSliderDialogStartValue (0)
  909. SetSliderDialogDefaultValue (0)
  910. SetSliderDialogRange (0, 1)
  911. SetSliderDialogInterval (1)
  912. Elseif (option == OID_Lob)
  913. SetSliderDialogStartValue (0)
  914. SetSliderDialogDefaultValue (0)
  915. SetSliderDialogRange (0, 1)
  916. SetSliderDialogInterval (1)
  917. Elseif (option == OID_Ogol)
  918. SetSliderDialogStartValue (0)
  919. SetSliderDialogDefaultValue (0)
  920. SetSliderDialogRange (0, 1)
  921. SetSliderDialogInterval (1)
  922. Elseif (option == OID_Ugor)
  923. SetSliderDialogStartValue (0)
  924. SetSliderDialogDefaultValue (0)
  925. SetSliderDialogRange (0, 1)
  926. SetSliderDialogInterval (1)
  927. Elseif (option == OID_Borgakh_The_Steel_Heart)
  928. SetSliderDialogStartValue (0)
  929. SetSliderDialogDefaultValue (0)
  930. SetSliderDialogRange (0, 1)
  931. SetSliderDialogInterval (1)
  932. Elseif (option == OID_Gorbash_The_Iron_Hand)
  933. SetSliderDialogStartValue (0)
  934. SetSliderDialogDefaultValue (0)
  935. SetSliderDialogRange (0, 1)
  936. SetSliderDialogInterval (1)
  937. Elseif (option == OID_Lob)
  938. SetSliderDialogStartValue (0)
  939. SetSliderDialogDefaultValue (0)
  940. SetSliderDialogRange (0, 1)
  941. SetSliderDialogInterval (1)
  942. Elseif (option == OID_Ogol)
  943. SetSliderDialogStartValue (0)
  944. SetSliderDialogDefaultValue (0)
  945. SetSliderDialogRange (0, 1)
  946. SetSliderDialogInterval (1)
  947. Elseif (option == OID_Ugor)
  948. SetSliderDialogStartValue (0)
  949. SetSliderDialogDefaultValue (0)
  950. SetSliderDialogRange (0, 1)
  951. SetSliderDialogInterval (1)
  952. Elseif (option == OID_Adelaisa_Vendicci)
  953. SetSliderDialogStartValue (0)
  954. SetSliderDialogDefaultValue (0)
  955. SetSliderDialogRange (0, 1)
  956. SetSliderDialogInterval (1)
  957. Elseif (option == OID_Aranea_Lenith)
  958. SetSliderDialogStartValue (0)
  959. SetSliderDialogDefaultValue (0)
  960. SetSliderDialogRange (0, 1)
  961. SetSliderDialogInterval (1)
  962. Elseif (option == OID_Derkeethus)
  963. SetSliderDialogStartValue (0)
  964. SetSliderDialogDefaultValue (0)
  965. SetSliderDialogRange (0, 1)
  966. SetSliderDialogInterval (1)
  967. Elseif (option == OID_Faendal)
  968. SetSliderDialogStartValue (0)
  969. SetSliderDialogDefaultValue (0)
  970. SetSliderDialogRange (0, 1)
  971. SetSliderDialogInterval (1)
  972. Elseif (option == OID_Sven)
  973. SetSliderDialogStartValue (0)
  974. SetSliderDialogDefaultValue (0)
  975. SetSliderDialogRange (0, 1)
  976. SetSliderDialogInterval (1)
  977. Elseif (option == OID_Kharjo)
  978. SetSliderDialogStartValue (0)
  979. SetSliderDialogDefaultValue (0)
  980. SetSliderDialogRange (0, 1)
  981. SetSliderDialogInterval (1)
  982. Elseif (option == OID_Mjoll_The_Lioness)
  983. SetSliderDialogStartValue (0)
  984. SetSliderDialogDefaultValue (0)
  985. SetSliderDialogRange (0, 1)
  986. SetSliderDialogInterval (1)
  987. Elseif (option == OID_Uthegerd_The_Unbroken)
  988. SetSliderDialogStartValue (0)
  989. SetSliderDialogDefaultValue (0)
  990. SetSliderDialogRange (0, 1)
  991. SetSliderDialogInterval (1)
  992. Elseif (option == OID_Benor)
  993. SetSliderDialogStartValue (0)
  994. SetSliderDialogDefaultValue (0)
  995. SetSliderDialogRange (0, 1)
  996. SetSliderDialogInterval (1)
  997. Elseif (option == OID_Cosnach)
  998. SetSliderDialogStartValue (0)
  999. SetSliderDialogDefaultValue (0)
  1000. SetSliderDialogRange (0, 1)
  1001. SetSliderDialogInterval (1)
  1002. Elseif (option == OID_Ahtar)
  1003. SetSliderDialogStartValue (0)
  1004. SetSliderDialogDefaultValue (0)
  1005. SetSliderDialogRange (0, 1)
  1006. SetSliderDialogInterval (1)
  1007. Elseif (option == OID_Annekke_Crag_Jumper)
  1008. SetSliderDialogStartValue (0)
  1009. SetSliderDialogDefaultValue (0)
  1010. SetSliderDialogRange (0, 1)
  1011. SetSliderDialogInterval (1)
  1012. Elseif (option == OID_Roggi_Knot_Beard)
  1013. SetSliderDialogStartValue (0)
  1014. SetSliderDialogDefaultValue (0)
  1015. SetSliderDialogRange (0, 1)
  1016. SetSliderDialogInterval (1)
  1017. Elseif (option == OID_Meeko)
  1018. SetSliderDialogStartValue (0)
  1019. SetSliderDialogDefaultValue (0)
  1020. SetSliderDialogRange (0, 1)
  1021. SetSliderDialogInterval (1)
  1022. Elseif (option == OID_BranHusky)
  1023. SetSliderDialogStartValue (0)
  1024. SetSliderDialogDefaultValue (0)
  1025. SetSliderDialogRange (0, 1)
  1026. SetSliderDialogInterval (1)
  1027. Elseif (option == OID_CusithDeathHound)
  1028. SetSliderDialogStartValue (0)
  1029. SetSliderDialogDefaultValue (0)
  1030. SetSliderDialogRange (0, 1)
  1031. SetSliderDialogInterval (1)
  1032. Elseif (option == OID_GarmrDeathHound)
  1033. SetSliderDialogStartValue (0)
  1034. SetSliderDialogDefaultValue (0)
  1035. SetSliderDialogRange (0, 1)
  1036. SetSliderDialogInterval (1)
  1037. Elseif (option == OID_SceolangHusky)
  1038. SetSliderDialogStartValue (0)
  1039. SetSliderDialogDefaultValue (0)
  1040. SetSliderDialogRange (0, 1)
  1041. SetSliderDialogInterval (1)
  1042. Endif
  1043. EndEvent
  1044.  
  1045. Event OnOptionSliderAccept(int option, Float Value)
  1046. If (option == OID_Brelya_Maryon)
  1047. Brelya_Maryon_G.SetValueInt(Value As Int)
  1048. SetSliderOptionValue (OID_Brelya_Maryon, Brelya_Maryon_G.GetValueInt())
  1049. If Brelya_Maryon_G.GetValueInt() == 1
  1050. Brelya_Maryon_A.Moveto(Game.GetPlayer())
  1051. Else
  1052. Endif
  1053. Brelya_Maryon_G.SetValue(0)
  1054. Elseif (option == OID_J'Zargo)
  1055. J'Zargo_G.SetValueInt(Value As Int)
  1056. SetSliderOptionValue (OID_J'Zargo, J'Zargo_G.GetValueInt())
  1057. If J'Zargo_G.GetValueInt() == 1
  1058. J'Zargo_A.Moveto(Game.GetPlayer())
  1059. Else
  1060. Endif
  1061. J'Zargo_G.SetValue(0)
  1062. Elseif (option == OID_Onmund)
  1063. Onmund_G.SetValueInt(Value As Int)
  1064. SetSliderOptionValue (OID_Onmund, Onmund_G.GetValueInt())
  1065. If Onmund_G.GetValueInt() == 1
  1066. Onmund_A.Moveto(Game.GetPlayer())
  1067. Else
  1068. Endif
  1069. Onmund_G.SetValue(0)
  1070. Elseif (option == OID_Aela)
  1071. Aela_G.SetValueInt(Value As Int)
  1072. SetSliderOptionValue (OID_Aela, Aela_G.GetValueInt())
  1073. If Aela_G.GetValueInt() == 1
  1074. Aela_A.Moveto(Game.GetPlayer())
  1075. Else
  1076. Endif
  1077. Aela_G.SetValue(0)
  1078. Elseif (option == OID_Athis)
  1079. Athis_G.SetValueInt(Value As Int)
  1080. SetSliderOptionValue (OID_Athis, Athis_G.GetValueInt())
  1081. If Athis_G.GetValueInt() == 1
  1082. Athis_A.Moveto(Game.GetPlayer())
  1083. Else
  1084. Endif
  1085. Athis_G.SetValue(0)
  1086. Elseif (option == OID_Farkas)
  1087. Farkas_G.SetValueInt(Value As Int)
  1088. SetSliderOptionValue (OID_Farkas, Farkas_G.GetValueInt())
  1089. If Farkas_G.GetValueInt() == 1
  1090. Farkas_A.Moveto(Game.GetPlayer())
  1091. Else
  1092. Endif
  1093. Farkas_G.SetValue(0)
  1094. Elseif (option == OID_Njada_Stonearm)
  1095. Njada_Stonearm_G.SetValueInt(Value As Int)
  1096. SetSliderOptionValue (OID_Njada_Stonearm, Njada_Stonearm_G.GetValueInt())
  1097. If Njada_Stonearm_G.GetValueInt() == 1
  1098. Njada_Stonearm_A.Moveto(Game.GetPlayer())
  1099. Else
  1100. Endif
  1101. Njada_Stonearm_G.SetValue(0)
  1102. Elseif (option == OID_Ria)
  1103. Ria_G.SetValueInt(Value As Int)
  1104. SetSliderOptionValue (OID_Ria, Ria_G.GetValueInt())
  1105. If Ria_G.GetValueInt() == 1
  1106. Ria_A.Moveto(Game.GetPlayer())
  1107. Else
  1108. Endif
  1109. Ria_G.SetValue(0)
  1110. Elseif (option == OID_Torvar)
  1111. Torvar_G.SetValueInt(Value As Int)
  1112. SetSliderOptionValue (OID_Torvar, Torvar_G.GetValueInt())
  1113. If Torvar_G.GetValueInt() == 1
  1114. Torvar_A.Moveto(Game.GetPlayer())
  1115. Else
  1116. Endif
  1117. Torvar_G.SetValue(0)
  1118. Elseif (option == OID_Vilkas)
  1119. Vilkas_G.SetValueInt(Value As Int)
  1120. SetSliderOptionValue (OID_Vilkas, Vilkas_G.GetValueInt())
  1121. If Vilkas_G.GetValueInt() == 1
  1122. Vilkas_A.Moveto(Game.GetPlayer())
  1123. Else
  1124. Endif
  1125. Vilkas_G.SetValue(0)
  1126. Elseif (option == OID_Cicero)
  1127. Cicero_G.SetValueInt(Value As Int)
  1128. SetSliderOptionValue (OID_Cicero, Cicero_G.GetValueInt())
  1129. If Cicero_G.GetValueInt() == 1
  1130. Cicero_A.Moveto(Game.GetPlayer())
  1131. Else
  1132. Endif
  1133. Cicero_G.SetValue(0)
  1134. Elseif (option == OID_Agmaer)
  1135. Agmaer_G.SetValueInt(Value As Int)
  1136. SetSliderOptionValue (OID_Agmaer, Agmaer_G.GetValueInt())
  1137. If Agmaer_G.GetValueInt() == 1
  1138. Agmaer_A.Moveto(Game.GetPlayer())
  1139. Else
  1140. Endif
  1141. Agmaer_G.SetValue(0)
  1142. Elseif (option == OID_Beleval)
  1143. Beleval_G.SetValueInt(Value As Int)
  1144. SetSliderOptionValue (OID_Beleval, Beleval_G.GetValueInt())
  1145. If Beleval_G.GetValueInt() == 1
  1146. Beleval_A.Moveto(Game.GetPlayer())
  1147. Else
  1148. Endif
  1149. Beleval_G.SetValue(0)
  1150. Elseif (option == OID_Celann)
  1151. Celann_G.SetValueInt(Value As Int)
  1152. SetSliderOptionValue (OID_Celann, Celann_G.GetValueInt())
  1153. If Celann_G.GetValueInt() == 1
  1154. Celann_A.Moveto(Game.GetPlayer())
  1155. Else
  1156. Endif
  1157. Celann_G.SetValue(0)
  1158. Elseif (option == OID_Durak)
  1159. Durak_G.SetValueInt(Value As Int)
  1160. SetSliderOptionValue (OID_Durak, Durak_G.GetValueInt())
  1161. If Durak_G.GetValueInt() == 1
  1162. Durak_A.Moveto(Game.GetPlayer())
  1163. Else
  1164. Endif
  1165. Durak_G.SetValue(0)
  1166. Elseif (option == OID_Ingard)
  1167. Ingard_G.SetValueInt(Value As Int)
  1168. SetSliderOptionValue (OID_Ingard, Ingard_G.GetValueInt())
  1169. If Ingard_G.GetValueInt() == 1
  1170. Ingard_A.Moveto(Game.GetPlayer())
  1171. Else
  1172. Endif
  1173. Ingard_G.SetValue(0)
  1174. Elseif (option == OID_Serana)
  1175. Serana_G.SetValueInt(Value As Int)
  1176. SetSliderOptionValue (OID_Serana, Serana_G.GetValueInt())
  1177. If Serana_G.GetValueInt() == 1
  1178. Serana_A.Moveto(Game.GetPlayer())
  1179. Else
  1180. Endif
  1181. Serana_G.SetValue(0)
  1182. Elseif (option == OID_Frea)
  1183. Frea_G.SetValueInt(Value As Int)
  1184. SetSliderOptionValue (OID_Frea, Frea_G.GetValueInt())
  1185. If Frea_G.GetValueInt() == 1
  1186. Frea_A.Moveto(Game.GetPlayer())
  1187. Else
  1188. Endif
  1189. Frea_A.SetValue(0)
  1190. Elseif (option == OID_Talvas)
  1191. Talvas_G.SetValueInt(Value As Int)
  1192. SetSliderOptionValue (OID_Talvas, Talvas_G.GetValueInt())
  1193. If Talvas_G.GetValueInt() == 1
  1194. Talvas_A.Moveto(Game.GetPlayer())
  1195. Else
  1196. Endif
  1197. Talvas_G.SetValue(0)
  1198. Elseif (option == OID_Teldryn_Sero)
  1199. Teldryn_Sero_G.SetValueInt(Value As Int)
  1200. SetSliderOptionValue (OID_Teldryn_Sero, Teldryn_Sero_G.GetValueInt())
  1201. If Teldryn_Sero_G.GetValueInt() == 1
  1202. Teldryn_Sero_A.Moveto(Game.GetPlayer())
  1203. Else
  1204. Endif
  1205. Teldryn_Sero_G.SetValue(0)
  1206. Elseif (option == OID_Erandur)
  1207. Erandur_G.SetValueInt(Value As Int)
  1208. SetSliderOptionValue (OID_Erandur, Erandur_G.GetValueInt())
  1209. If Erandur_G.GetValueInt() == 1
  1210. Erandur_A.Moveto(Game.GetPlayer())
  1211. Else
  1212. Endif
  1213. Erandur_G.SetValue(0)
  1214. Elseif (option == OID_Golldir)
  1215. Golldir_G.SetValueInt(Value As Int)
  1216. SetSliderOptionValue (OID_Golldir, Golldir_G.GetValueInt())
  1217. If Golldir_G.GetValueInt() == 1
  1218. Golldir_A.Moveto(Game.GetPlayer())
  1219. Else
  1220. Endif
  1221. Golldir_G.SetValue(0)
  1222. Elseif (option == OID_illia)
  1223. illia_G.SetValueInt(Value As Int)
  1224. SetSliderOptionValue (OID_illia, illia_G.GetValueInt())
  1225. If illia_G.GetValueInt() == 1
  1226. illia_A.Moveto(Game.GetPlayer())
  1227. Else
  1228. Endif
  1229. illia_G.SetValue(0)
  1230. Elseif (option == OID_Belrand)
  1231. Belrand_G.SetValueInt(Value As Int)
  1232. SetSliderOptionValue (OID_Belrand, Belrand_G.GetValueInt())
  1233. If Belrand_G.GetValueInt() == 1
  1234. Belrand_A.Moveto(Game.GetPlayer())
  1235. Else
  1236. Endif
  1237. Belrand_G.SetValue(0)
  1238. Elseif (option == OID_Erik_The_Slayer)
  1239. Erik_The_Slayer_G.SetValueInt(Value As Int)
  1240. SetSliderOptionValue (OID_Erik_The_Slayer, Erik_The_Slayer_G.GetValueInt())
  1241. If Erik_The_Slayer_G.GetValueInt() == 1
  1242. Erik_The_Slayer_A.Moveto(Game.GetPlayer())
  1243. Else
  1244. Endif
  1245. Erik_The_Slayer_G.SetValue(0)
  1246. Elseif (option == OID_Jenessa)
  1247. Jenessa_G.SetValueInt(Value As Int)
  1248. SetSliderOptionValue (OID_Jenessa, Jenessa_G.GetValueInt())
  1249. If Jenessa_G.GetValueInt() == 1
  1250. Jenessa_A.Moveto(Game.GetPlayer())
  1251. Else
  1252. Endif
  1253. Jenessa_G.SetValue(0)
  1254. Elseif (option == OID_Marcurio)
  1255. Marcurio_G.SetValueInt(Value As Int)
  1256. SetSliderOptionValue (OID_Marcurio, Marcurio_G.GetValueInt())
  1257. If Marcurio_G.GetValueInt() == 1
  1258. Marcurio_A.Moveto(Game.GetPlayer())
  1259. Else
  1260. Endif
  1261. Marcurio_G.SetValue(0)
  1262. Elseif (option == OID_Stenvar)
  1263. Stenvar_G.SetValueInt(Value As Int)
  1264. SetSliderOptionValue (OID_Stenvar, Stenvar_G.GetValueInt())
  1265. If Stenvar_G.GetValueInt() == 1
  1266. Stenvar_A.Moveto(Game.GetPlayer())
  1267. Else
  1268. Endif
  1269. Stenvar_G.SetValue(0)
  1270. Elseif (option == OID_Vorstag)
  1271. Vorstag_G.SetValueInt(Value As Int)
  1272. SetSliderOptionValue (OID_Vorstag, Vorstag_G.GetValueInt())
  1273. If Vorstag_G.GetValueInt() == 1
  1274. Vorstag_A.Moveto(Game.GetPlayer())
  1275. Else
  1276. Endif
  1277. Vorstag_G.SetValue(0)
  1278. Elseif (option == OID_Argis_The_Bulwark)
  1279. Argis_The_Bulwark_G.SetValueInt(Value As Int)
  1280. SetSliderOptionValue (OID_Argis_The_Bulwark, Argis_The_Bulwark_G.GetValueInt())
  1281. If Argis_The_Bulwark_G.GetValueInt() == 1
  1282. Argis_The_Bulwark_A.Moveto(Game.GetPlayer())
  1283. Else
  1284. Endif
  1285. Argis_The_Bulwark_G.SetValue(0)
  1286. Elseif (option == OID_Calder)
  1287. Argis_The_Bulwark_G.SetValueInt(Value As Int)
  1288. SetSliderOptionValue (OID_Argis_The_Bulwark, Argis_The_Bulwark_G.GetValueInt())
  1289. If Argis_The_Bulwark_G.GetValueInt() == 1
  1290. Argis_The_Bulwark_A.Moveto(Game.GetPlayer())
  1291. Else
  1292. Endif
  1293. Argis_The_Bulwark_G.SetValue(0)
  1294. Elseif (option == OID_Iona)
  1295. Iona_G.SetValueInt(Value As Int)
  1296. SetSliderOptionValue (OID_Iona, Iona_G.GetValueInt())
  1297. If Iona_G.GetValueInt() == 1
  1298. Iona_A.Moveto(Game.GetPlayer())
  1299. Else
  1300. Endif
  1301. Iona_G.SetValue(0)
  1302. Elseif (option == OID_Jordis_The_Shield_Maiden)
  1303. Jordis_The_Shield_Maiden_G.SetValueInt(Value As Int)
  1304. SetSliderOptionValue (OID_Jordis_The_Shield_Maiden, Jordis_The_Shield_Maiden_G.GetValueInt())
  1305. If Jordis_The_Shield_Maiden_G.GetValueInt() == 1
  1306. Jordis_The_Shield_Maiden_A.Moveto(Game.GetPlayer())
  1307. Else
  1308. Endif
  1309. Jordis_The_Shield_Maiden_G.SetValue(0)
  1310. Elseif (option == OID_Lydia)
  1311. Lydia_G.SetValueInt(Value As Int)
  1312. SetSliderOptionValue (OID_Lydia, Lydia_G.GetValueInt())
  1313. If Lydia_G.GetValueInt() == 1
  1314. Lydia_A.Moveto(Game.GetPlayer())
  1315. Else
  1316. Endif
  1317. Lydia_G.SetValue(0)
  1318. Elseif (option == OID_Gregor)
  1319. Gregor_G.SetValueInt(Value As Int)
  1320. SetSliderOptionValue (OID_Gregor, Gregor_G.GetValueInt())
  1321. If Gregor_G.GetValueInt() == 1
  1322. Gregor_A.Moveto(Game.GetPlayer())
  1323. Else
  1324. Endif
  1325. Gregor_G.SetValue(0)
  1326. Elseif (option == OID_Rayya)
  1327. Rayya_G.SetValueInt(Value As Int)
  1328. SetSliderOptionValue (OID_Rayya, Rayya_G.GetValueInt())
  1329. If Rayya_G.GetValueInt() == 1
  1330. Rayya_A.Moveto(Game.GetPlayer())
  1331. Else
  1332. Endif
  1333. Rayya_G.SetValue(0)
  1334. Elseif (option == OID_Valdimar)
  1335. Valdimar_G.SetValueInt(Value As Int)
  1336. SetSliderOptionValue (OID_Valdimar, Valdimar_G.GetValueInt())
  1337. If Valdimar_G.GetValueInt() == 1
  1338. Valdimar_A.Moveto(Game.GetPlayer())
  1339. Else
  1340. Endif
  1341. Valdimar_G.SetValue(0)
  1342. Elseif (option == OID_Borgakh_The_Steel_Heart)
  1343. Borgakh_The_Steel_Heart_G.SetValueInt(Value As Int)
  1344. SetSliderOptionValue (OID_Borgakh_The_Steel_Heart, Borgakh_The_Steel_Heart_G.GetValueInt())
  1345. If Borgakh_The_Steel_Heart_G.GetValueInt() == 1
  1346. Borgakh_The_Steel_Heart_A.Moveto(Game.GetPlayer())
  1347. Else
  1348. Endif
  1349. Borgakh_The_Steel_Heart_G.SetValue(0)
  1350. Elseif (option == OID_Gorbash_The_Iron_Hand)
  1351. Gorbash_The_Iron_Hand_G.SetValueInt(Value As Int)
  1352. SetSliderOptionValue (OID_Gorbash_The_Iron_Hand, Gorbash_The_Iron_Hand_G.GetValueInt())
  1353. If Gorbash_The_Iron_Hand_G.GetValueInt() == 1
  1354. Gorbash_The_Iron_Hand_A.Moveto(Game.GetPlayer())
  1355. Else
  1356. Endif
  1357. Gorbash_The_Iron_Hand_G.SetValue(0)
  1358. Elseif (option == OID_Lob)
  1359. Lob_G.SetValueInt(Value As Int)
  1360. SetSliderOptionValue (OID_Lob, Lob_G.GetValueInt())
  1361. If Lob_G.GetValueInt() == 1
  1362. Lob_A.Moveto(Game.GetPlayer())
  1363. Else
  1364. Endif
  1365. Lob_G.SetValue(0)
  1366. Elseif (option == OID_Ogol)
  1367. Ogol_G.SetValueInt(Value As Int)
  1368. SetSliderOptionValue (OID_Ogol, Ogol_G.GetValueInt())
  1369. If Ogol_G.GetValueInt() == 1
  1370. Ogol_A.Moveto(Game.GetPlayer())
  1371. Else
  1372. Endif
  1373. Ogol_G.SetValue(0)
  1374. Elseif (option == OID_Ugor)
  1375. Ugor_G.SetValueInt(Value As Int)
  1376. SetSliderOptionValue (OID_Ugor, Ugor_G.GetValueInt())
  1377. If Ugor_G.GetValueInt() == 1
  1378. Ugor_G.Moveto(Game.GetPlayer())
  1379. Else
  1380. Endif
  1381. Ugor_G.SetValue(0)
  1382. Elseif (option == OID_Borgakh_The_Steel_Heart)
  1383. Borgakh_The_Steel_Heart_G.SetValueInt(Value As Int)
  1384. SetSliderOptionValue (OID_Borgakh_The_Steel_Heart, Borgakh_The_Steel_Heart_G.GetValueInt())
  1385. If Borgakh_The_Steel_Heart_G.GetValueInt() == 1
  1386. Borgakh_The_Steel_Heart_A.Moveto(Game.GetPlayer())
  1387. Else
  1388. Endif
  1389. Borgakh_The_Steel_Heart_G.SetValue(0)
  1390. Elseif (option == OID_Gorbash_The_Iron_Hand)
  1391. Gorbash_The_Iron_Hand_G.SetValueInt(Value As Int)
  1392. SetSliderOptionValue (OID_Gorbash_The_Iron_Hand, Gorbash_The_Iron_Hand_G.GetValueInt())
  1393. If Gorbash_The_Iron_Hand_G.GetValueInt() == 1
  1394. Gorbash_The_Iron_Hand_A.Moveto(Game.GetPlayer())
  1395. Else
  1396. Endif
  1397. Gorbash_The_Iron_Hand_G.SetValue(0)
  1398. Elseif (option == OID_Lob)
  1399. Lob_G.SetValueInt(Value As Int)
  1400. SetSliderOptionValue (OID_Lob, Lob_G.GetValueInt())
  1401. If Lob_G.GetValueInt() == 1
  1402. Lob_A.Moveto(Game.GetPlayer())
  1403. Else
  1404. Endif
  1405. Lob_G.SetValue(0)
  1406. Elseif (option == OID_Ogol)
  1407. Ogol_G.SetValueInt(Value As Int)
  1408. SetSliderOptionValue (OID_Ogol, Ogol_G.GetValueInt())
  1409. If Ogol_G.GetValueInt() == 1
  1410. Ogol_A.Moveto(Game.GetPlayer())
  1411. Else
  1412. Endif
  1413. Ogol_G.SetValue(0)
  1414. Elseif (option == OID_Ugor)
  1415. Ugor_G.SetValueInt(Value As Int)
  1416. SetSliderOptionValue (OID_Ugor, Ugor_G.GetValueInt())
  1417. If Ugor_G.GetValueInt() == 1
  1418. Ugor_A.Moveto(Game.GetPlayer())
  1419. Else
  1420. Endif
  1421. Ugor_G.SetValue(0)
  1422. Elseif (option == OID_Adelaisa_Vendicci)
  1423. Adelaisa_Vendicci_G.SetValueInt(Value As Int)
  1424. SetSliderOptionValue (OID_Adelaisa_Vendicci, Adelaisa_Vendicci_G.GetValueInt())
  1425. If Adelaisa_Vendicci_G.GetValueInt() == 1
  1426. Adelaisa_Vendicci_A.Moveto(Game.GetPlayer())
  1427. Else
  1428. Endif
  1429. Adelaisa_Vendicci_G.SetValue(0)
  1430. Elseif (option == OID_Aranea_Lenith)
  1431. Aranea_Lenith_G.SetValueInt(Value As Int)
  1432. SetSliderOptionValue (OID_Aranea_Lenith, Aranea_Lenith_G.GetValueInt())
  1433. If Aranea_Lenith_G.GetValueInt() == 1
  1434. Aranea_Lenith_A.Moveto(Game.GetPlayer())
  1435. Else
  1436. Endif
  1437. Aranea_Lenith_G.SetValue(0)
  1438. Elseif (option == OID_Derkeethus)
  1439. Derkeethus_G.SetValueInt(Value As Int)
  1440. SetSliderOptionValue (OID_Derkeethus, Derkeethus_G.GetValueInt())
  1441. If Derkeethus_G.GetValueInt() == 1
  1442. Derkeethus_A.Moveto(Game.GetPlayer())
  1443. Else
  1444. Endif
  1445. Derkeethus_G.SetValue(0)
  1446. Elseif (option == OID_Faendal)
  1447. Faendal_G.SetValueInt(Value As Int)
  1448. SetSliderOptionValue (OID_Faendal, Faendal_G.GetValueInt())
  1449. If Faendal_G.GetValueInt() == 1
  1450. Faendal_A.Moveto(Game.GetPlayer())
  1451. Else
  1452. Endif
  1453. Faendal_G.SetValue(0)
  1454. Elseif (option == OID_Sven)
  1455. Sven_G.SetValueInt(Value As Int)
  1456. SetSliderOptionValue (OID_Sven, Sven_G.GetValueInt())
  1457. If Sven_G.GetValueInt() == 1
  1458. Sven_A.Moveto(Game.GetPlayer())
  1459. Else
  1460. Endif
  1461. Sven_G.SetValue(0)
  1462. Elseif (option == OID_Kharjo)
  1463. Kharjo_G.SetValueInt(Value As Int)
  1464. SetSliderOptionValue (OID_Kharjo, Kharjo_G.GetValueInt())
  1465. If Kharjo_G.GetValueInt() == 1
  1466. Kharjo_A.Moveto(Game.GetPlayer())
  1467. Else
  1468. Endif
  1469. Kharjo_G.SetValue(0)
  1470. Elseif (option == OID_Mjoll_The_Lioness)
  1471. Mjoll_The_Lioness_G.SetValueInt(Value As Int)
  1472. SetSliderOptionValue (OID_Mjoll_The_Lioness, Mjoll_The_Lioness_G.GetValueInt())
  1473. If Mjoll_The_Lioness_G.GetValueInt() == 1
  1474. Mjoll_The_Lioness_A.Moveto(Game.GetPlayer())
  1475. Else
  1476. Endif
  1477. Mjoll_The_Lioness_G.SetValue(0)
  1478. Elseif (option == OID_Uthegerd_The_Unbroken)
  1479. Uthegerd_The_Unbroken_G.SetValueInt(Value As Int)
  1480. SetSliderOptionValue (OID_Uthegerd_The_Unbroken, Uthegerd_The_Unbroken_G.GetValueInt())
  1481. If Uthegerd_The_Unbroken_G.GetValueInt() == 1
  1482. Uthegerd_The_Unbroken_A.Moveto(Game.GetPlayer())
  1483. Else
  1484. Endif
  1485. Uthegerd_The_Unbroken_G.SetValue(0)
  1486. Elseif (option == OID_Benor)
  1487. Benor_G.SetValueInt(Value As Int)
  1488. SetSliderOptionValue (OID_Benor, Benor_G.GetValueInt())
  1489. If Benor_G.GetValueInt() == 1
  1490. Benor_A.Moveto(Game.GetPlayer())
  1491. Else
  1492. Endif
  1493. Benor_G.SetValue(0)
  1494. Elseif (option == OID_Cosnach)
  1495. Cosnach_G.SetValueInt(Value As Int)
  1496. SetSliderOptionValue (OID_Cosnach, Cosnach_G.GetValueInt())
  1497. If Cosnach_G.GetValueInt() == 1
  1498. Cosnach_A.Moveto(Game.GetPlayer())
  1499. Else
  1500. Endif
  1501. Cosnach_G.SetValue(0)
  1502. Elseif (option == OID_Ahtar)
  1503. Ahtar_G.SetValueInt(Value As Int)
  1504. SetSliderOptionValue (OID_Ahtar, Ahtar_G.GetValueInt())
  1505. If Ahtar_G.GetValueInt() == 1
  1506. Ahtar_A.Moveto(Game.GetPlayer())
  1507. Else
  1508. Endif
  1509. Ahtar_G.SetValue(0)
  1510. Elseif (option == OID_Annekke_Crag_Jumper)
  1511. Annekke_Crag_Jumper_G.SetValueInt(Value As Int)
  1512. SetSliderOptionValue (OID_Annekke_Crag_Jumper, Annekke_Crag_Jumper_G.GetValueInt())
  1513. If Annekke_Crag_Jumper_G.GetValueInt() == 1
  1514. Annekke_Crag_Jumper_A.Moveto(Game.GetPlayer())
  1515. Else
  1516. Endif
  1517. Annekke_Crag_Jumper_G.SetValue(0)
  1518. Elseif (option == OID_Roggi_Knot_Beard)
  1519. Roggi_Knot_Beard_G.SetValueInt(Value As Int)
  1520. SetSliderOptionValue (OID_Roggi_Knot_Beard, Roggi_Knot_Beard_G.GetValueInt())
  1521. If Roggi_Knot_Beard_G.GetValueInt() == 1
  1522. Roggi_Knot_Beard_A.Moveto(Game.GetPlayer())
  1523. Else
  1524. Endif
  1525. Roggi_Knot_Beard_G.SetValue(0)
  1526. Elseif (option == OID_Meeko)
  1527. Meeko_G.SetValueInt(Value As Int)
  1528. SetSliderOptionValue (OID_Meeko, Meeko_G.GetValueInt())
  1529. If Meeko_G.GetValueInt() == 1
  1530. Meeko_A.Moveto(Game.GetPlayer())
  1531. Else
  1532. Endif
  1533. Meeko_G.SetValue(0)
  1534. Elseif (option == OID_BranHusky)
  1535. BranHusky_G.SetValueInt(Value As Int)
  1536. SetSliderOptionValue (OID_BranHusky, BranHusky_G.GetValueInt())
  1537. If BranHusky_G.GetValueInt() == 1
  1538. BranHusky_A.Moveto(Game.GetPlayer())
  1539. Else
  1540. Endif
  1541. BranHusky_G.SetValue(0)
  1542. Elseif (option == OID_CusithDeathHound)
  1543. CusithDeathHound_G.SetValueInt(Value As Int)
  1544. SetSliderOptionValue (OID_CusithDeathHound, CusithDeathHound_G.GetValueInt())
  1545. If CusithDeathHound_G.GetValueInt() == 1
  1546. CusithDeathHound_A.Moveto(Game.GetPlayer())
  1547. Else
  1548. Endif
  1549. CusithDeathHound_G.SetValue(0)
  1550. Elseif (option == OID_GarmrDeathHound)
  1551. GarmrDeathHound_G.SetValueInt(Value As Int)
  1552. SetSliderOptionValue (OID_GarmrDeathHound, GarmrDeathHound_G.GetValueInt())
  1553. If GarmrDeathHound_G.GetValueInt() == 1
  1554. GarmrDeathHound_A.Moveto(Game.GetPlayer())
  1555. Else
  1556. Endif
  1557. GarmrDeathHound_G.SetValue(0)
  1558. Elseif (option == OID_SceolangHusky)
  1559. SceolangHusky_G.SetValueInt(Value As Int)
  1560. SetSliderOptionValue (OID_SceolangHusky, SceolangHusky_G.GetValueInt())
  1561. If SceolangHusky_G.GetValueInt() == 1
  1562. SceolangHusky_A.Moveto(Game.GetPlayer())
  1563. Else
  1564. Endif
  1565. SceolangHusky_G.SetValue(0)
  1566. Endif
  1567. EndEvent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement