TR_m3_NPC_TreramOdalyn_sc
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m3_NPC_TreramOdalyn_sc
2; Combo of base script and logic to set if he forcegreets you after killing his wife
3
4short TR_Map
5short control
6short controlQ
7short T_Local_NPC
8short NoLore
9
10; TreramAlert set when Idrenie (his wife) dies
11if ( TR_m3_Sa_TreramAlert == 1 )
12 ; intended to activate if you leave their house through the door
13 if ( GetDistance Player <= 500 )
14 ForceGreeting
15 endif
16 ; regardless set it to 2 so it doesnt happen again
17 set TR_m3_Sa_TreramAlert to 2
18endif
19
20if ( TR_Map )
21 return
22endif
23
24set TR_Map to 3
25
26End