Scripts

TR_m7_q_SadrynLetter_sc

TR_Mainland.esm
Variables 2
Local Variables
OnPCEquip
PCSkipEquip
Source
1Begin TR_m7_q_SadrynLetter_sc 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 addtopic "letter to Sadryn" 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 addtopic "letter to Sadryn" 30 Activate 31endif 32 33end