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