TR_m3_NPC_q_ind_guard_va
TR_Mainland.esm
Variables
5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m3_NPC_q_ind_guard_va
2
3short TR_Map
4short control
5short controlQ
6short T_Local_NPC
7short NoLore
8
9if ( GetJournalIndex TR_m3_TT_Disembodied >= 45 )
10 if ( GetJournalIndex TR_m3_TT_Disembodied < 100 )
11 if ( GetDisabled == 0 )
12 disable
13 endif
14 return ; if on Disembodied - don't worry about anything else
15 endif
16endif
17
18if ( control == 0 )
19 if ( "TR_m3_RD_DaeBarrier"->GetDisabled )
20 set control to 1
21 if ( player->GetDistance "TR_m3_RD_DaeBarrier" < 300 )
22 if ( GetDetected player )
23 ModPCCrimeLevel 5000
24 endif
25 endif
26 endif
27endif
28
29if ( TR_Map )
30 return
31endif
32
33set TR_Map to 3
34
35End