Scripts

TR_m4_FG_OrblosBook_scp

TR_Mainland.esm
Variables 3
Local Variables
PCSkipEquip
doOnce
actionFlag
Source
1begin TR_m4_FG_OrblosBook_scp 2 3short PCSkipEquip 4short doOnce 5short actionFlag 6 7if ( GetDisabled ) 8 if ( GetJournalIndex "TR_m4_FG_Cliffracer" >= 30 ) 9 enable 10 endif 11else 12 if ( GetJournalIndex "TR_m4_FG_Cliffracer" < 30 ) 13 Disable 14 endif 15endif 16 17if ( doOnce == 1 ) 18 return 19endif 20 21if ( actionFlag == 1 ) 22 Set doOnce to 1 23 if ( GetJournalIndex "TR_m4_FG_Cliffracer" < 60 ) 24 if ( GetJournalIndex "TR_m4_FG_CliffracerC" < 100 ) 25 Journal "TR_m4_FG_CliffracerC" 100 26 endif 27 endif 28endif 29 30if ( PCSkipEquip == 1 ) 31 Set PCSkipEquip to 0 32 Set actionFlag to 1 33 return 34endif 35 36if ( MenuMode ) 37 return 38endif 39 40if ( OnActivate ) 41 Set actionFlag to 1 42 Activate 43endif 44 45end