Scripts

TR_m3_vadenbaro_scr

TR_Mainland.esm
Variables 6
Local Variables
noLore
disembodiedDisable
hesbackinalmas
T_Local_NPC
T_Local_NoLore
TR_Map
Source
1begin TR_m3_vadenbaro_scr 2 3short noLore 4short disembodiedDisable 5short hesbackinalmas 6short T_Local_NPC 7short T_Local_NoLore 8short TR_Map 9 10if ( TR_Map != 3 ) 11 set TR_Map to 3 12endif 13 14if ( hesbackinalmas ) 15 return 16endif 17 18if ( OnDeath ) 19 Journal TR_m3_TT_Speaker 11 20endif 21 22if ( disembodiedDisable == 1 ) 23 if ( CellChanged ) 24 if ( GetDeadCount TR_m3_Vaden_Baro_noface < 1 ) 25 if ( GetJournalIndex TR_m3_TT_FaceStealer >= 60 ) 26 enable 27 set hesbackinalmas to 1 28 endif 29 endif 30 endif 31 return 32endif 33 34if ( GetJournalIndex TR_m3_TT_Disembodied >= 70 ) 35 disable 36 set disembodiedDisable to 1 37endif 38 39end