TR_m3_Llaren_Arns_sc
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
timer
Source
1Begin TR_m3_Llaren_Arns_sc
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9float timer
10
11if ( CellChanged == 1 )
12 if ( GetJournalIndex "TR_m3_FG_OE2" >= 40 )
13 if ( GetDisabled == 0 )
14 if ( GetHealth > 0 )
15 Disable
16 endif
17 endif
18 endif
19endif
20
21if ( controlQ >= 1 )
22 if ( controlQ == 1 )
23 set controlQ to 2
24 cast "divine intervention" player
25 return
26 endif
27
28 if ( MenuMode )
29 return
30 endif
31
32 set timer to ( timer + GetSecondsPassed )
33 if ( timer >= 2 )
34 set controlQ to -1
35 disable
36 endif
37endif
38
39if ( OnDeath == 1 )
40 if ( GetJournalIndex "TR_m3_FG_OE2" < 40 )
41 additem "TR_m3_FG_OE2_Ledger" 1
42 endif
43endif
44
45if ( TR_Map )
46 return
47endif
48
49set TR_Map to 3
50
51End