Scripts

TR_m7_NPC_Nemendoril

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
T_Local_NPC
NoLore
T_Local_NoLore
Source
1Begin TR_m7_NPC_Nemendoril 2 3short TR_Map 4short control 5short controlQ 6short T_Local_NPC 7short NoLore 8short T_Local_NoLore 9 10if ( control == 1 ) 11 if ( GetDeadCount "TR_m7_Gorvyn Verobar" >= 1 ) 12 if ( GetDeadCount "TR_m7_Vendras Andrilo" >= 1 ) 13 set control to 2 14 AiWander 0 0 0 60 20 10 15 endif 16 endif 17endif 18 19if ( GetJournalIndex TR_m7_HR_AldIuval_q2 == 20 ) 20 if ( controlQ != 1 ) 21 if ( control == 0 ) 22 set control to 1 23 SetFight 100 24 StartCombat player 25 endif 26 elseif ( control == 0 ) 27 set control to 1 28 AIFollow player 0 0 0 0 29 StartCombat "TR_m7_Vendras Andrilo" 30 endif 31endif 32 33if ( TR_Map == 7 ) 34 return 35endif 36 37set TR_Map to 7 38 39End