TR_m2_q_36_ArvsScript
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m2_q_36_ArvsScript
2
3; This script goes on Arvs Rethrathi (TR_m2_Arvs_Rethrathi)
4; For quest TR_m2_MG_Francine3 it's necessary to record if Arvs is dead or disabled,
5; Arvs' status is stored with the global variable TR_m2_WM_Rethrathi
6
7;**********************************************************************************
8; IMPORTANT:
9; if some kind of 'Purge Fort Windmoth from corruption' quest is implemented,
10; then the part which sets this global variable must be kept or carried over!
11; 2013/05/18 6+
12;**********************************************************************************
13
14; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
15; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
16; appropriate to the location the NPC is.
17
18Short TR_Map
19Short control
20Short controlQ
21Short NoLore
22short T_Local_NPC
23short T_Local_NoLore
24
25if ( TR_Map != 2 )
26 Set TR_Map to 2
27endif
28
29if ( MenuMode == 1 )
30 Return
31endif
32
33; Arvs Rethathi now is dead and/or disabled, the script no longer needs to be run
34if ( controlQ == 100 )
35 Return
36endif
37
38; if Arvs Rethrathi dies set TR_m2_WM_Rethrathi to 1
39if ( OnDeath == 1 )
40 Set TR_m2_WM_Rethrathi to 1
41 Set controlQ to 100
42endif
43
44; if Arvs Rethrathi is disabled set TR_m2_WM_Rethrathi to 1
45if ( GetDisabled == 1 )
46 Set TR_m2_WM_Rethrathi to 1
47 Set controlQ to 100
48endif
49
50End