Scripts

TR_m4_And_IncThreat_Package_sc

TR_Mainland.esm
Variables 3
Local Variables
OnPCEquip
messageOn
Button
Source
1Begin TR_m4_And_IncThreat_Package_sc 2 3short OnPCEquip 4short messageOn 5short Button 6 7if ( OnPCEquip == 1 ) 8 set messageOn to 1 9 set OnPCEquip to 0 10 MessageBox "Do you want to open the package?" "Open" "Don't open" 11endif 12 13if ( messageOn == 1 ) 14 set Button to GetButtonPressed 15 if ( Button < 0 ) 16 return 17 endif 18 set messageOn to 0 19 if ( Button == 0 ) 20 Journal "TR_m4_And_IncThreat" 20 21 player->additem "TR_m4_And_IncThreat_Dagger" 1 22 player->removeitem "TR_m4_And_IncThreat_Package" 1 23 MessageBox "Inside the package was a bloody steel dagger." 24 endif 25endif 26 27End