Scripts

TR_m7_Ns_JNS_7_ScGuards

TR_Mainland.esm
Variables 8
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
SetHostile
OnPCHitMe
Source
1Begin "TR_m7_Ns_JNS_7_ScGuards" 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short SetHostile 10short OnPCHitMe 11 12if ( SetHostile != 1 ) 13 if ( "TR_m7_Ns_JNS_7_AttackTong" == 1 ) 14 SetFight 100 15 StartCombat player 16 Set SetHostile to 1 17 endif 18endif 19 20if ( OnPCHitMe == 1 ) 21 StartCombat player 22 Set OnPCHitMe to 0 23 if ( "TR_m7_Ns_JNS_7_AttackTong" != 1 ) 24 Set "TR_m7_Ns_JNS_7_AttackTong" to 1 25 endif 26endif 27 28if ( CellChanged == 1 ) 29 if ( GetJournalIndex "TR_m7_Ns_JNS_7" == 10 ) 30 if ( GetDisabled == 1 ) 31 Enable 32 Set TR_Map to 7 33 endif 34 elseif ( GetJournalIndex "TR_m7_Ns_JNS_7" == 0 ) 35 if ( GetDisabled == 0 ) 36 Disable 37 endif 38 elseif ( GetJournalIndex "TR_m7_Ns_JNS_7" == 110 ) 39 if ( GetDisabled == 0 ) 40 Disable 41 endif 42 endif 43endif 44 45End