Scripts

TR_m7_Ns_IL_7_BookSc

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
PCSkipEquip
Source
1Begin TR_m7_Ns_IL_7_BookSc 2 3short OnPCEquip 4short PCSkipEquip 5 6set PCSkipEquip to 0 7 8if ( MenuMode ) 9 set PCSkipEquip to 1 10 if ( OnPCEquip ) 11 set OnPCEquip to 0 12 set PCSkipEquip to 0 ; OpenMW fails to open the book without this line 13 if ( getjournalindex TR_m7_Ns_IL_7 >= 40 ) 14 if ( getjournalindex TR_m7_Ns_IL_7 < 70 ) 15 Journal TR_m7_Ns_IL_7 70 16 endif 17 Endif 18 Activate 19 endif 20 return 21endif 22 23If ( OnActivate == 1 ) 24 if ( getjournalindex TR_m7_Ns_IL_7 >= 40 ) 25 if ( getjournalindex TR_m7_Ns_IL_7 < 70 ) 26 Journal TR_m7_Ns_IL_7 70 27 endif 28 Endif 29 Activate 30Endif 31 32End