TR_m4_NPC_IssarbaddonBandit
TR_Mainland.esm
Variables
7
Local Variables
TR_Map
control
controlQ
NoLore
IssarbaddonBandit
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m4_NPC_IssarbaddonBandit
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. This version is for "NoLore" NPCs.
5
6short TR_Map
7short control
8short controlQ
9short NoLore
10short IssarbaddonBandit
11short T_Local_NPC
12short T_Local_NoLore
13;global TR_m4_AA_IssarbaddonHostile
14
15if ( TR_m4_AA_IssarbaddonHostile == 0 ) ;if the bandits are hostile (default state)
16 if ( GetFight == 20 )
17 SetFight 100
18 endif
19elseif ( TR_m4_AA_IssarbaddonHostile == 1 ) ;if the bandits aint hostile
20 if ( GetFight > 20 )
21 SetFight 20
22 endif
23endif
24
25if ( TR_Map == 4 )
26 return
27endif
28
29set TR_Map to 4
30
31End