Scripts

TR_m2_q_4_SorenDremora_sc

TR_Mainland.esm
Source
1begin TR_m2_q_4_SorenDremora_sc 2 3;short DremoraMove 4 5if ( GetAttacked == 1 ) 6 StartCombat "TR_m2_Soren Uveran" 7endif 8 9if ( OnDeath == 1 ) 10 Journal "TR_m2_TM_Brothers" 30 11 disable 12endif 13 14;if ( DremoraMove == 1 ) 15; if ( getDisabled == 1 ) 16; enable 17; endif 18;else 19; if ( getDisabled == 0 ) 20; disable 21; endif 22;endif 23 24if ( GetJournalIndex "TR_m2_TM_Brothers" < 21 ) 25 if ( GetJournalIndex "TR_m2_TM_Brothers" > 14 ) 26 enable 27 StartCombat "TR_m2_Soren Uveran" 28 ;set DremoraMove to 1 29 else 30 disable 31 endif 32elseif ( GetJournalIndex "TR_m2_TM_Brothers" == 30 ) 33 disable 34 ;set DremoraMove to 2 35else 36 disable 37endif 38 39if ( onActivate == 1 ) 40endif 41 42end