TR_m3_q_A7_DiremScript
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m3_q_A7_DiremScript
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
11
12if ( controlQ == 0 )
13 if ( GetJournalIndex TR_m3_Ta_Strike == 50 )
14 if ( CellChanged == 1 )
15 "TR_m3_Direm Llathen"->PositionCell 2860, -3412, -1935, 17820, "Tahvel, Egg Mine" ;marker TR_m3_MARK_q_A7_DiremScript
16 "TR_m3_Direm Llathen"->AIWander 30 0 0 40 20 20 0 0 0 0 0 0
17 "TR_m3_Camran"->PositionCell -3061, -2192, -544, 4800, "Tahvel, Egg Mine" ;marker TR_m3_MARK_q_A7_DiremScript
18 "TR_m3_Camran"->AIWander 100 0 0 40 20 20 0 0 0 0 0 0
19 "TR_m3_Mirem Osun"->PositionCell 5726, 3652, 10590, 3780, "Tahvel, Iron Mine" ;marker TR_m3_MARK_q_A7_DiremScript
20 "TR_m3_Mirem Osun"->AIWander 512 0 0 40 20 20 0 0 0 0 0 0
21 "TR_m3_Repruvus"->PositionCell 4644, 1870, 10174, 8940, "Tahvel, Iron Mine" ;marker TR_m3_MARK_q_A7_DiremScript
22 "TR_m3_Repruvus"->AIWander 300 0 0 40 20 20 0 0 0 0 0 0
23 "TR_m3_TahvelGuard"->AIWander 1000 0 0 40 20 20 0 0 0 0 0 0
24 set controlQ to 1
25 endif
26 endif
27endif
28
29if ( TR_Map == 3 )
30 return
31endif
32
33set TR_Map to 3
34
35End