TR_m4_q_Treram
TR_Mainland.esm
Variables
7
Local Variables
moneycheck
doOnce
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m4_q_Treram
2
3short moneycheck
4short doOnce
5short TR_Map
6short control
7short controlQ
8short T_Local_NPC
9short NoLore
10
11if ( doOnce == 0 )
12 if ( GetDeadCount "TR_m4_Treram Varalaryn" > 0 ) ;If the NPC this script is attached to dies, do something
13 if ( GetJournalIndex "TR_m4_Bd_RedoranDebt" > 0 )
14 Journal "TR_m4_Bd_RedoranDebt" 65
15 set doOnce to 1
16 endif
17 endif
18endif
19
20
21if ( TR_Map == 4 )
22 return
23endif
24
25set TR_Map to 4
26
27End