Scripts

TR_m7_HR_WM_DreughBk

TR_Mainland.esm
Variables 1
Local Variables
doOnce
Source
1begin TR_m7_HR_WM_DreughBk 2 3short doOnce 4 5if ( CellChanged ) 6 if ( doOnce == 0 ) 7 ; Only spawn if the Son of Paruddma dies before Nilus moves 8 if ( GetJournalIndex "TR_m7_HR_WM_Ep_a" == 100 ) 9 if ( GetDeadCount TR_m6_maw_manowar_2 >= 1 ) 10 set doOnce to 1 11 else 12 set doOnce to -1 13 endif 14 endif 15 endif 16 17 if ( GetDisabled == 0 ) 18 if ( GetJournalIndex "TR_m7_HR_WM_Ep_a" != 100 ) 19 Disable 20 elseif ( GetDeadCount TR_m6_maw_manowar_2 == 0 ) 21 Disable 22 endif 23 elseif ( doOnce == 1 ) 24 Enable 25 endif 26endif 27 28end