TR_m3_OE_q_TownKnight
TR_Mainland.esm
Variables
6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_OE_q_TownKnight
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9
10; This is the script on NPC "TR_m3_Hormidac Farralie".
11; It disables the knight once the quest has been failed.
12
13if ( CellChanged )
14 if ( GetDisabled )
15 elseif ( GetJournalIndex "TR_m3_OE_WhereHorseGone" == 7 )
16 disable
17 elseif ( GetJournalIndex "TR_m3_OE_WhereHorseGone" == 100 )
18 disable
19 elseif ( GetJournalIndex "TR_m3_OE_WhereHorseGone" == 200 )
20 disable
21 elseif ( GetJournalIndex "TR_m3_OE_WhereHorseGone" == 10 )
22 disable
23 endif
24endif
25
26if ( TR_Map == 3 )
27 return
28endif
29
30set TR_Map to 3
31
32End