Scripts

TR_m7_NPC_Marana_Saruthi

TR_Mainland.esm
Variables 7
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
OnPCHitMe
Source
1Begin TR_m7_NPC_Marana_Saruthi 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10short OnPCHitMe 11 12if ( GetJournalIndex TR_m7_IC_Maria7 < 10 ) 13 if ( GetDisabled == 0 ) 14 disable 15 endif 16 return 17elseif ( GetDisabled ) 18 enable 19endif 20 21if ( OnPCHitMe ) 22 if ( GetJournalIndex TR_m7_IC_Maria7 < 25 ) 23 stopcombat 24 else 25 startcombat player 26 endif 27 set OnPCHitMe to 0 28endif 29 30if ( TR_Map ) 31 return 32endif 33 34set TR_Map to 7 35 36End