TR_m3_OE_Phyrious_sc
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
T_Local_NoLore
NoLore
Source
1Begin TR_m3_OE_Phyrious_sc
2
3; copies behavior of T_ScNpc_Mw_Map3_OE_tower
4; and adds behavior required by TR_m3_OE_DukeAffair quest
5
6short TR_Map
7short control
8short controlQ
9short T_Local_NPC
10short T_Local_NoLore
11short NoLore
12
13if ( OnDeath )
14 ; if quest began and the Duke is still relevant
15 if ( GetJournalIndex "TR_m3_OE_DukeAffair" >= 10 )
16 if ( GetJournalIndex "TR_m3_OE_DukeAffair" < 100 )
17 Journal "TR_m3_OE_DukeAffair" 210 ; finishes the quest
18 endif
19 endif
20endif
21
22if ( TR_Map )
23 return
24endif
25
26set TR_Map to 3
27
28End