TR_m7_Essurnashpi_Leader_sc
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
Source
1Begin TR_m7_Essurnashpi_Leader_sc
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8
9if ( GetJournalIndex TR_m7_IC_Maria7 < 10 )
10 if ( GetDisabled == 0 )
11 disable
12 endif
13 return
14elseif ( GetDisabled )
15 enable
16endif
17
18if ( OnDeath )
19 set TR_m7_EssurnashpiDeadCount to ( TR_m7_EssurnashpiDeadCount + 1 )
20 if ( TR_m7_EssurnashpiDeadCount >= 5 )
21 if ( GetJournalIndex TR_m7_IC_Maria7 >= 10 )
22 Journal TR_m7_IC_Maria7 25
23 endif
24 endif
25endif
26
27if ( TR_Map )
28 return
29endif
30
31set TR_Map to 7
32
33End