Scripts

TR_m7_NPC_DrovasUvaril

TR_Mainland.esm
Variables 6
Local Variables
NoLore
TR_Map
T_Local_NPC
control
controlQ
OnPCHitMe
Source
1begin TR_m7_NPC_DrovasUvaril 2 3short NoLore 4short TR_Map 5short T_Local_NPC 6short control 7short controlQ 8short OnPCHitMe 9 10if ( OnPCHitMe ) 11 startcombat player 12 if ( control == 0 ) 13 if ( GetJournalIndex TR_m7_Ns_IL_1 >= 70 ) 14 if ( GetJournalIndex TR_m7_Ns_IL_1 < 100 ) 15 if ( WearingLegionUni ) 16 set control to 1 17 endif 18 endif 19 endif 20 endif 21 set OnPCHitMe to 0 22endif 23 24if ( OnDeath ) 25 if ( GetJournalIndex TR_m7_Ns_IL_1 >= 70 ) 26 if ( GetJournalIndex TR_m7_Ns_IL_1 < 100 ) 27 if ( control ) 28 Journal TR_m7_Ns_IL_1a 100 29 set control to 0 30 else 31 Journal TR_m7_Ns_IL_1a 10 32 endif 33 endif 34 endif 35endif 36 37if ( TR_Map ) 38 return 39endif 40 41set TR_Map to 7 42 43End