TR_m4_q_Eleanor
TR_Mainland.esm
Variables
8
Local Variables
doOnce
doOnce2
TR_Map
control
controlQ
combatcheck
T_Local_NPC
NoLore
Source
1Begin TR_m4_q_Eleanor
2
3short doOnce
4short doOnce2
5short TR_Map
6short control
7short controlQ
8short combatcheck
9short T_Local_NPC
10short NoLore
11
12if ( doOnce == 0 )
13 if ( GetDeadCount "TR_m4_Eleanor" > 0 ) ;If the NPC this script is attached to dies, do something
14 if ( GetJournalIndex "TR_m4_Bd_RedoranDebt" > 10 )
15 if ( GetJournalIndex "TR_m4_Bd_RedoranDebt" <= 40 )
16 Journal "TR_m4_Bd_RedoranDebt" 30
17 set doOnce to 1
18 endif
19 endif
20 endif
21endif
22
23if ( combatcheck == 1 )
24 if (doOnce2 == 0 )
25 "TR_m4_Naamalvo Nerano"->StartCombat Player
26 "TR_m4_Orblos"->StartCombat Player
27 set doOnce2 to 1
28 set combatcheck to 2
29 endif
30endif
31
32if ( TR_Map == 4 )
33 return
34endif
35
36set TR_Map to 4
37
38End