TR_m2_q_38_s_Favryn
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m2_q_38_s_Favryn
2
3; governs Favryn - mostly NoLore + a bit making him ignore you under certain circumstances
4
5short TR_Map
6short control
7short controlQ
8short NoLore
9short T_Local_NPC
10short T_Local_NoLore
11
12if ( TR_m2_q_38_status >= 85 )
13 if ( OnActivate == 1 )
14 if ( TR_m2_q_38_status <= 90 )
15 ; if he's storming out, he ignores you
16 MessageBox "Favryn ignores you."
17 else
18 ; note that calling OnActivate once means I need to script-activate him always after
19 ; as just checking OnActivate during the "Favryn storming out" period would make him mute thereafter, o buggy MW scripting language.
20 Activate
21 endif
22 endif
23endif
24
25if ( GetDisabled == 1 )
26 ; he gets disabled by a global script at the appropriate point
27 if ( "TR_m2_q_38_Favrynclone"->GetDisabled == 0 )
28 ; wait for his clone to pop into existence because they need to match dispositions
29 SetDelete 1
30 return
31 endif
32endif
33
34; since he's a Map 2 NPC...
35
36if ( TR_Map == 2 )
37 return
38endif
39
40set TR_Map to 2
41
42End