TR_m1_q_FG_CaptainScript
TR_Mainland.esm
Variables
8
Local Variables
TR_Map
control
controlQ
speakOnce
T_Local_NPC
NoLore
doonce
state
Source
1Begin TR_m1_q_FG_CaptainScript
2
3short TR_Map
4short control
5short controlQ
6short speakOnce
7short T_Local_NPC
8short NoLore
9short doonce
10short state
11
12if ( TR_m1_FG_StalkerTrapped )
13 set state to 0
14elseif ( GetJournalIndex TR_m1_FG_CodaliaStalkerAlt >= 10 )
15 set state to 1
16else
17 set state to 0
18endif
19
20if ( state == 1 )
21 if ( GetDisabled )
22 Enable
23 endif
24elseif ( GetDisabled == 0 )
25 Disable
26endif
27
28if ( TR_Map )
29 return
30endif
31
32set TR_Map to 1
33
34End