Scripts

TR_m3_q_A9_Ghost_Script

TR_Mainland.esm
Variables 1
Local Variables
doOnce
Source
1Begin TR_m3_q_A9_Ghost_Script 2 3short doOnce 4 5If ( doOnce == 1 ) 6 Return 7Else 8 If ( GetJournalIndex "TR_m3_Er_Prayer" >= 57 ) 9 Disable 10 set doOnce to 1 11 return 12 Endif 13Endif 14 15If ( GameHour > 22 ) 16 if ( getDisabled == 1 ) 17 Enable 18 endif 19ElseIf ( GameHour < 5 ) 20 if ( getDisabled == 1 ) 21 Enable 22 endif 23Elseif ( getDisabled == 0 ) 24 Disable 25Endif 26 27 28End