Scripts

TR_m7_Ns_JNS_7_ScDrurile

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_ScDrurile" 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short SetHostile 10short OnPCHitMe 11 12if ( GetJournalIndex "TR_m7_Ns_JNS_7" < 30 ) 13 if ( SetHostile != 1 ) 14 if ( "TR_m7_Ns_JNS_7_AttackTong" == 1 ) 15 SetFight 100 16 StartCombat player 17 Set SetHostile to 1 18 endif 19 endif 20endif 21 22if ( OnPCHitMe == 1 ) 23 StartCombat player 24 Set OnPCHitMe to 0 25 if ( GetJournalIndex "TR_m7_Ns_JNS_7" < 30 ) 26 if ( "TR_m7_Ns_JNS_7_AttackTong" != 1 ) 27 Set "TR_m7_Ns_JNS_7_AttackTong" to 1 28 endif 29 endif 30endif 31 32if ( OnDeath == 1 ) 33 Set "TR_m7_Ns_JNS_7_NegotiatorsDead" to ( "TR_m7_Ns_JNS_7_NegotiatorsDead" + 1 ) 34endif 35 36if ( TR_Map == 7 ) 37 return 38endif 39 40Set TR_Map to 7 41Set T_Local_NoLore to 1 ;Only NoLored during the quest 42 43End