TR_m3_MarcusReprus_sc
TR_Mainland.esm
Variables
6
Local Variables
T_Local_NPC
T_Local_NoLore
TR_Map
NoLore
control
ControlQ
Source
1begin TR_m3_MarcusReprus_sc
2
3short T_Local_NPC
4short T_Local_NoLore
5short TR_Map
6short NoLore
7short control
8short ControlQ
9
10if ( TR_Map != 3 )
11 set TR_Map to 3
12endif
13
14if ( OnDeath == 1 )
15 if ( GetJournalIndex "TR_m3_Dar_Reprus" >= 10 )
16 if ( GetJournalIndex "TR_m3_Dar_Reprus" < 100 )
17 Journal "TR_m3_Dar_Reprus" 200
18 endif
19 endif
20endif
21
22if ( CellChanged == 0 )
23 Return
24endif
25if ( GetJournalIndex "TR_m3_Dar_Reprus" == 100 )
26 if ( GetDistance "player" >= 8192 )
27 if ( GetDisabled == 0 )
28 Disable
29 endif
30 endif
31endif
32
33end