Scripts

TR_m4_IL_ralamnote_scr

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
PCSkipEquip
Source
1begin TR_m4_IL_ralamnote_scr 2 3short OnPCEquip 4short PCSkipEquip 5 6set PCSkipEquip to 0 7; any actions that might end the script must be placed lower than this line 8 9; Activating from the inventory 10if ( MenuMode ) 11 set PCSkipEquip to 1 12 13 if ( OnPCEquip ) 14 15 ; place actions for when the player opened the book from the inventory here 16 Journal TR_m4_IL_Grudge 30 17 set OnPCEquip to 0 18 set PCSkipEquip to 0 19 Activate 20 endif 21 22 return 23endif 24 25; Activating in the world 26if ( OnActivate ) 27 28 ; place actions for when the player opened the book from the world here 29 Journal TR_m4_IL_Grudge 30 30 Activate 31endif 32 33end