Scripts

TR_m3_q_11_guards_script

TR_Mainland.esm
Variables 5
Local Variables
TR_Map
control
OnPCHitMe
T_Local_NPC
NoLore
Source
1Begin TR_m3_q_11_guards_script 2 3;for killing almalexia's faithful 4 5short TR_Map 6short control 7short OnPCHitMe 8short T_Local_NPC 9short NoLore 10 11;journal updates on death 12 13if ( OnDeath == 1 ) 14 if ( GetDeadCount "TR_m3_Gavorn Llanse" > 0 ) 15 if ( GetDeadCount "TR_m3_Solos Darethi" > 0 ) 16 if ( GetJournalIndex "TR_m3_VA_Merihayan" >= 10 ) 17 Journal "TR_m3_VA_Merihayan" 15 18 endif 19 endif 20 endif 21endif 22 23;both start combat if one is attacked 24 25if ( OnPCHitme == 1 ) 26 "TR_m3_Gavorn Llanse"->startcombat player 27 "TR_m3_Gavorn Llanse"->setfight 90 28 "TR_m3_Solos Darethi"->startcombat player 29 "TR_m3_Solos Darethi"->setfight 90 30 set OnPCHitMe to 0 31endif 32 33if ( TR_Map == 3 ) 34 return 35endif 36 37set TR_Map to 3 38 39End