TR_m3_q_OE_MG_GuildHeadScript
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_Nolore
Source
1begin TR_m3_q_OE_MG_GuildHeadScript
2
3;script on Arquebald Vene
4
5short TR_Map
6short control
7short controlQ
8short T_Local_NPC
9short NoLore
10short T_Local_Nolore
11
12;arquebald disappears at the beginning of q7 and reappears once you exit the puzzle mansion at the end of q7
13if ( getjournalindex tr_m3_mg_oe_q7 >= 50 )
14 if ( GetDisabled )
15 enable
16 endif
17elseif ( getjournalindex tr_m3_mg_oe_q7 >= 5 )
18 if ( GetDisabled == 0 )
19 disable
20 endif
21elseif ( GetDisabled )
22 enable
23endif
24
25if ( getjournalindex tr_m3_mg_oe_q7 == 5 )
26 if ( player->getpos y > 4100 ); when the player enters the room during q7, arquebald is gone
27 journal tr_m3_mg_oe_q7 10
28 addtopic "arquebald vene"
29 endif
30endif
31
32;if ( getjournalindex tr_m3_mg_oe_q8 >= 140 )
33; if ( getjournalindex tr_m3_mg_oe_q8 < 160 )
34; if ( controlq == 0 )
35; positioncell 388 732 0 8580 "old ebonheart, guild of mages: entrance hall" ; mark: TR_m3_MARK_Arquebald
36; set controlq to 1
37; endif
38; endif
39;endif
40
41if ( TR_Map )
42 return
43endif
44
45set TR_Map to 3
46
47end