TR_m7_NPC_ElivahBaryon
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
T_Local_NPC
NoLore
control
controlQ
Source
1begin TR_m7_NPC_ElivahBaryon
2
3short TR_Map
4short T_Local_NPC
5short NoLore
6short control
7short controlQ
8
9if ( OnDeath )
10 if ( GetJournalIndex TR_m7_AI_JNS_3 >= 10 )
11 if ( GetJournalIndex TR_m7_AI_JNS_3 < 100 )
12 Journal TR_m7_AI_JNS_3 60
13 endif
14 endif
15endif
16
17if ( GetJournalIndex TR_m7_AI_JNS_3 >= 50 )
18 if ( control < 2 )
19 set control to 2
20 setalarm 90
21 endif
22elseif ( GetJournalIndex TR_m7_AI_JNS_3 >= 10 )
23 if ( control < 1 )
24 set control to 1
25 setalarm 0
26 endif
27endif
28
29if ( TR_Map )
30 return
31endif
32
33set TR_Map to 7
34
35end