Scripts

TR_m7_HL_FG_Q4_Ordinator1Sc

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m7_HL_FG_Q4_Ordinator1Sc 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10short OnPCHitMe 11 12if ( TR_m7_HL_FG_Q4_FightStarted == 0 ) 13 if ( OnPCHitMe ) 14 set TR_m7_HL_FG_Q4_FightStarted to 1 15 startcombat player 16 endif 17endif 18 19if ( GetJournalIndex TR_m7_FG_HL_Q4 < 10 ) 20 if ( GetDisabled == 0 ) 21 disable 22 endif 23 return 24elseif ( GetJournalIndex TR_m7_FG_HL_Q4 >= 100 ) 25 if ( GetDisabled == 0 ) 26 disable 27 endif 28 return 29elseif ( GetDisabled ) 30 enable 31endif 32 33if ( OnDeath ) 34 if ( GetJournalIndex TR_m7_FG_HL_Q4 < 50 ) 35 Journal TR_m7_FG_HL_Q4 50 36 endif 37 set TR_m7_HL_FG_Q4_FightStarted to 1 38endif 39 40if ( TR_Map ) 41 return 42endif 43 44set TR_Map to 7 45 46End