TR_m3_Komerhoff_sc
TR_Mainland.esm
Variables
1
Local Variables
doonce
Source
1begin TR_m3_Komerhoff_sc
2; script to track player distance to
3; ogrim for quest TR_m3_Wil_Harrumat
4
5short doonce
6
7if ( OnDeath )
8 set doonce to 1
9 return
10endif
11
12if ( doonce )
13 return
14endif
15
16if ( GetJournalIndex TR_m3_Wil_Harrumat >= 10 )
17 if ( GetJournalIndex TR_m3_Wil_Harrumat < 30 )
18 if ( getLOS player )
19 Journal TR_m3_Wil_Harrumat 30
20 set doonce to 1
21 return
22 endif
23 endif
24endif
25
26
27end