Scripts

TR_m7_Ns_IL_9_NoteSc

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
PCSkipEquip
Source
1Begin TR_m7_Ns_IL_9_NoteSc 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_9 >= 20 ) 14 if ( getjournalindex TR_m7_Ns_IL_9 < 30 ) 15 Journal TR_m7_Ns_IL_9 30 16 endif 17 Endif 18 Activate 19 endif 20 return 21endif 22 23If ( OnActivate == 1 ) 24 if ( getjournalindex TR_m7_Ns_IL_9 >= 20 ) 25 if ( getjournalindex TR_m7_Ns_IL_9 < 30 ) 26 Journal TR_m7_Ns_IL_9 30 27 endif 28 Endif 29 Activate 30Endif 31 32End