TR_m1_T_FarunaSC
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m1_T_FarunaSC
2
3short TR_Map
4short control
5short controlQ
6short NoLore
7short T_Local_NPC
8short T_Local_NoLore
9short OnPCHitMe
10
11if ( Ondeath )
12 set TR_m1_HT_FarunaDead to 1
13 startscript TR_m0_TelvanniHortDeathSc
14 if ( GetJournalIndex "TR_m1_HT_Oathrung" >= 10 )
15 if ( GetJournalIndex "TR_m1_HT_Oathrung" < 50 )
16 Journal "TR_m1_HT_Oathrung" 51
17 endif
18 endif
19 if ( GetJournalIndex "TR_m1_HT_UnseatingDral" >= 10 )
20 if ( GetJournalIndex "TR_m1_HT_UnseatingDral" < 20 )
21 Journal "TR_m1_HT_UnseatingDral_Faruna" 150
22 StartScript TR_m1_HT_UnseatingDralSc
23 endif
24 endif
25endif
26
27if ( OnPCHitMe == 1 )
28 if ( control == 0 )
29 set control to 1
30 Cast "TR_m1_Faruna_SpecialMix_sp" TR_m1_T_Faruna
31 endif
32 set OnPCHitMe to 0
33endif
34
35if ( GetJournalIndex "TR_m1_HT_Oathrung" >= 50 )
36 if ( controlQ == 0 )
37 set controlQ to 1
38 endif
39endif
40
41if ( TR_Map == 1 )
42 return
43endif
44
45set TR_Map to 1
46
47End