Scripts

PlagueOrdBasement

Tribunal.esm
Variables 2
Local Variables
knockedout
nolore
Source
1Begin PlagueOrdBasement 2 3 4short knockedout 5short nolore 6 7if ( GetDeadCount "ordinator_mh_tbasement" > 0 ) 8 StopScript PlagueOrdBasement 9endif 10 11if ( GetJournalIndex "MS_CrimsonPlague" < 60 ) 12 if ( GetDisabled == 0 ) 13 Disable 14 endif 15elseif ( GetJournalIndex "MS_CrimsonPlague" >= 60 ) 16 if ( GetDisabled == 1 ) 17 Enable 18 endif 19elseif ( GetJournalIndex "MS_CrimsonPlague" >= 160 ) 20 if ( GetDisabled == 0 ) 21 Disable 22 endif 23endif 24 25if ( GetJournalIndex "MS_CrimsonPlague" >= 80 ) 26 if ( knockedout == 0 ) 27 modcurrentfatigue -10000 28 set knockedout to 1 29 endif 30endif 31 32if ( GetJournalIndex "MS_CrimsonPlague" >= 105 ) 33 if ( knockedout == 1 ) 34 setfatigue 321 35 StopScript PlagueOrdBasement 36 endif 37endif 38 39 40End PlagueOrdBasement