TR_m3_NPC_LlarenIlvi
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
control1
control2
controlQ
noLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_NPC_LlarenIlvi
2
3short TR_Map
4short control ;
5short control1 ; Control to Control2 used for Dialogue topic "stolen Indoril helm" for TR_m3_AT_Brother
6short control2 ;
7short controlQ ; used to check if journal isn't in stage 80 to 82
8short noLore
9short T_Local_NPC
10short T_Local_NoLore
11
12if ( OnDeath )
13 if ( GetJournalIndex "TR_m3_AT_Brother" >= 71 )
14 if ( GetJournalIndex "TR_m3_AT_Brother" <= 91 )
15 if ( GetJournalIndex "TR_m3_AT_Brother" < 80 )
16 set controlQ to 1
17 elseif ( GetJournalIndex "TR_m3_AT_Brother" > 82 )
18 set controlQ to 1
19 endif
20
21 if ( controlQ )
22 Journal "TR_m3_AT_Brother" 252
23 set "TR_m3_Brother_TrialReset" to 2
24 StartScript "TR_m3_AT_Brother_movement"
25 endif
26 endif
27 endif
28 if ( GetJournalIndex TR_m3_TT_Disembodied2 < 50 )
29 additem TR_m3_TT_Dis_marshrootincense 1
30 endif
31endif
32
33if ( TR_Map )
34 return
35endif
36
37set TR_Map to 3
38
39End