Scripts

TR_m7_Ns_JNS_4_ScAndGua

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
Source
1Begin TR_m7_Ns_JNS_4_ScAndGua 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8 9if ( GetJournalIndex "TR_m7_Ns_JNS_4" > 10 ) 10 if ( GetJournalIndex "TR_m7_Ns_JNS_4" < 100 ) 11 if ( ControlQ == 0 ) 12 if ( "TR_m7_Ns_JNS_4_AnderaFollow" == 2 ) 13 if ( "TR_m7_Ns_JNS_4_ShouldFollow" == 2 ) 14 if ( GetDistance player <= 500 ) 15 if ( player->getinvisible == 0 ) 16 if ( GetDetected player == 1 ) 17 Set ControlQ to 1 18 ForceGreeting 19 endif 20 endif 21 endif 22 endif 23 endif 24 endif 25 endif 26endif 27 28if ( TR_Map == 7 ) 29 return 30endif 31 32set TR_Map to 7 33 34End