Scripts

TR_m1_EEC4_ZarenPackSCN

TR_Mainland.esm
Variables 3
Local Variables
OnPCEquip
messageOn
Button
Source
1Begin TR_m1_EEC4_ZarenPackSCN 2 3;script on the package in quest TR_M1_EEC_Zaren 4; 05/06/2022 - script transliterated from older TR_Mainland (18) by WellTemperedClavier 5; 15/03/2014 - changes /abot 6 7Short OnPCEquip 8Short messageOn 9Short Button 10 11if ( OnPCEquip == 1 ) 12 Set messageOn to 1 13 Set onPCEquip to 0 14 MessageBox "What do you want to do with the package?" "Open it" "Keep it closed" 15endif 16 17if ( messageOn == 1 ) 18 Set Button to GetButtonPressed 19 if ( Button < 0 ) 20 return 21 endif 22 set messageOn to 0 ; else it keeps running and interacting with other objects and misfiring /abot 23 if ( Button == 0 ) 24 player->StartScript TR_M1_EEC4_ZarenPackExt 25 DisablePlayerControls 26 player->addItem "TR_m1_EEC_ZarenPants" 1 27 Journal TR_m1_EEC_Zaren 55 28 endif 29endif 30 31End