Scripts

TR_m3_q_UlveneSarothri_sc

TR_Mainland.esm
Variables 6
Local Variables
TR_Map
control
controlQ
NoLore
T_Local_NPC
T_Local_NoLore
Source
1Begin TR_m3_q_UlveneSarothri_sc 2 3short TR_Map 4short control 5short controlQ 6short NoLore 7short T_Local_NPC 8short T_Local_NoLore 9 10if ( CellChanged ) 11 if ( GetJournalIndex "TR_m3_Wil_AccountsPayable" >= 100 ) 12 if ( GetDeadCount "TR_m3_q_Ulvene Sarothri" == 0 ) 13 if ( GetDistance "Player" > 8192 ) 14 disable 15 endif 16 endif 17 endif 18endif 19 20if ( OnDeath == 1 ) 21 if ( GetJournalIndex "TR_m3_Wil_AccountsPayable" >= 10 ) 22 if ( GetJournalIndex "TR_m3_Wil_AccountsPayable" < 100 ) 23 Journal "TR_m3_Wil_AccountsPayable" 130 24 endif 25 endif 26endif 27 28if ( TR_Map != 3 ) 29 set TR_Map to 3 30endif 31 32End