Scripts

TR_m2_He_TG1_ReportScr

TR_Mainland.esm
Variables 3
Local Variables
OnPCEquip
PCSkipEquip
doonce
Source
1Begin TR_m2_He_TG1_ReportScr 2 3short OnPCEquip 4short PCSkipEquip 5short doonce 6 7set PCSkipEquip to 0 8 9if ( MenuMode ) 10 set PCSkipEquip to 1 11 if ( OnPCEquip ) 12 if ( GetJournalIndex TR_m2_HE_TG1 >= 10 ) 13 if ( doonce == 0 ) 14 Journal TR_m2_He_TG1 50 15 set doonce to 1 16 endif 17 endif 18 set OnPCEquip to 0 19 set PCSkipEquip to 0 ; OpenMW fails to open the book without this line 20 Activate 21 endif 22 return 23endif 24 25if ( OnActivate ) 26 if ( GetJournalIndex TR_m2_HE_TG1 >= 10 ) 27 if ( doonce == 0 ) 28 Journal TR_m2_He_TG1 50 29 set doonce to 1 30 endif 31 endif 32 Activate 33endif 34 35end