TR_m4_NPC_ShenjirraCC
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m4_NPC_ShenjirraCC
2; This short script is there to allow dialogue to be filtered on the TR_Map local variable,
3; allowing for regional topics such as "Morrowind Lore" or "Geographic Regions" to be
4; appropriate to the location the NPC is.
5
6short TR_Map
7short control
8short controlQ
9short T_Local_NPC
10short NoLore
11short T_Local_NoLore
12short OnPCHitMe
13
14if ( OnPCHitMe )
15 if ( controlQ == 0 )
16 ; controlQ tracks if they're angry at pc
17 set "TR_m4_Mols Varadras".controlQ to 1
18 set "TR_m4_Othrys Armuno".controlQ to 1
19 "TR_m4_Mols Varadras"->setfight 100
20 "TR_m4_Othrys Armuno"->setfight 100
21 "TR_m4_Mols Varadras"->startcombat player
22 "TR_m4_Othrys Armuno"->startcombat player
23
24 if ( GetJournalIndex "TR_m4_wil_CatCatchers" > 0 )
25 if ( GetJournalIndex "TR_m4_wil_CatCatchers" < 100 )
26 if ( GetJournalIndex "TR_m4_wil_CatCatchersB" < 20 )
27 Journal "TR_m4_wil_CatCatchers" 110
28 endif
29 endif
30 endif
31 endif
32endif
33
34if ( TR_Map == 4 )
35 return
36endif
37
38set TR_Map to 4
39
40End