Scripts

TR_m7_Ns_JNS_6_ScThug

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m7_Ns_JNS_6_ScThug 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9short OnPCHitMe 10 11if ( GetJournalIndex "TR_m7_Ns_JNS_6" >= 20 ) 12 if ( GetJournalIndex "TR_m7_Ns_JNS_6" < 50 ) 13 if ( GetDisabled == 1 ) 14 Enable 15 endif 16 elseif ( GetDisabled == 0 ) 17 Disable 18 endif 19endif 20 21if ( OnPCHitMe == 1 ) 22 if ( GetJournalIndex "TR_m7_Ns_JNS_6" == 20 );If player attacks before the ForceGreet, fight still starts and plays out as normal 23 Journal "TR_m7_Ns_JNS_6" 30 24 "TR_m7_q_Meder Llarys"->SetFight 100 25 "TR_m7_q_Meder Llarys"->StartCombat player 26 "TR_m7_q_Tenaru Sadri"->SetFight 100 27 "TR_m7_q_Tenaru Sadri"->StartCombat player 28 "TR_m7_q_Lenoria Flutius"->SetFight 100 29 "TR_m7_q_Lenoria Flutius"->StartCombat "TR_m7_q_Rathasa Sendu" ;Heavy melee hitter goes for her, ranged guys for the player 30 "TR_m7_q_Rathasa Sendu"->StartCombat "TR_m7_q_Lenoria Flutius" 31 "TR_m7_q_Rathasa Sendu"->StartCombat "TR_m7_q_Meder Llarys" ;If she kills her main target, she starts going for the others next 32 "TR_m7_q_Rathasa Sendu"->StartCombat "TR_m7_q_Tenaru Sadri" 33 endif 34 Set OnPCHitMe to 0 35endif 36 37if ( TR_Map != 7 ) 38 set TR_Map to 7 39 Disable 40endif 41 42End