TR_M4_IL_Dreughscript
TR_Mainland.esm
Variables
1
Local Variables
doonce
Source
1begin TR_M4_IL_Dreughscript
2
3short doonce
4
5if ( getjournalindex "TR_m4_IL_Dreugh" == 0 )
6 if ( doonce == 0 )
7 disable
8 set doonce to 1
9 endif
10endif
11
12if ( getjournalindex "TR_m4_IL_Dreugh" == 10 )
13 if ( doonce == 1 )
14 enable
15 set doonce to 2
16 endif
17endif
18
19if ( getjournalindex "TR_m4_IL_Dreugh" == 10 )
20 if ( doonce == 2 )
21 if ( GetDeadCount, "TR_m4_IL_Dreughs" > 3 )
22 journal TR_m4_IL_Dreugh 50
23 set doonce to 3
24 endif
25 endif
26endif
27
28end