Scripts

TR_m2_q_4_SorenUveranLocal

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
doOnce
T_Local_NPC
NoLore
Source
1begin TR_m2_q_4_SorenUveranLocal 2 3short TR_Map 4short control 5short controlQ 6short doOnce 7short T_Local_NPC 8short NoLore 9 10if ( GetJournalIndex TR_m2_TM_Brothers >= 5 ) 11 if ( doOnce == 0 ) ; StartScript should be only called on specific occasions, not every frame! 12 StartScript TR_m2_q_4_SorenUveran 13 StartScript TR_m2_q_4_AlaudUveran 14 set doOnce to 1 15 endif 16endif 17 18if ( OnDeath == 1 ) 19 if ( GetJournalIndex "TR_m2_TM_Brothers" < 11 ) 20 Journal "TR_m2_TM_Brothers" 200 21 elseif ( GetJournalIndex "TR_m2_TM_Brothers" > 14 ) 22 if ( GetJournalIndex "TR_m2_TM_Brothers" < 21 ) 23 Journal "TR_m2_TM_Brothers" 35 24 endif 25 elseif ( GetJournalIndex "TR_m2_TM_Brothers" == 30 ) 26 Journal "TR_m2_TM_Brothers" 200 27 endif 28endif 29 30if ( TR_Map == 2 ) 31 return 32endif 33 34set TR_Map to 2 35 36end