TR_m7_Ns_IC1_Merchant
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
timer
Source
1Begin TR_m7_Ns_IC1_Merchant
2;The merchants will forcegreet the player once under effect of Zenithar's blessing in Narsis Imperial Cult Quest 1
3
4short TR_Map
5short control
6short controlQ
7short T_Local_NPC
8short NoLore
9float timer
10
11if ( controlQ == 0 )
12 if ( GetSpellEffects TR_m7_q_Ns_IC1_BlessingZen == 1 )
13 set controlQ to 1
14 endif
15elseif ( controlQ == 1 )
16 if ( MenuMode == 0 )
17 set timer to ( timer + GetSecondsPassed )
18 if ( timer > 1 )
19 ForceGreeting
20 endif
21 endif
22endif
23
24if ( TR_Map == 7 )
25 return
26endif
27
28set TR_Map to 7
29
30End