Scripts

CharGenDagger

Morrowind.esm
Variables 2
Local Variables
done
OnPCEquip
Source
1begin CharGenDagger 2 3;for picking up the dagger in character generation 4 5short done 6short OnPCEquip 7 8;only does message during chargen 9if ( CharGenState == -1 ) 10 if ( OnActivate == 1 ) 11 Activate 12 return 13 endif 14endif 15 16if ( OnActivate == 1 ) 17 18 if ( done == 0 ) 19 if ( Xbox == 0 ) 20 MessageBox "Equip the dagger by dropping it on your picture in your inventory menu. ", "Ok" 21 else 22 MessageBox "Equip the dagger in your inventory menu. ", "Ok" 23 endif 24 25 set done to 1 26 27 endif 28 29 Activate 30 31endif 32 33;you equip the dagger 34if ( OnPCEquip == 1 ) 35 36 if ( CharGenState != -1) ;only get message during chargen 37 38 if ( done == 1 ) 39 if ( Xbox == 0 ) 40 MessageBox "Press ^ActionReadyItem to pull out your weapon. Once your weapon is readied, hold and release the left mouse button to swing it. The harder you swing it, the more damage it does, but the more fatigue you will drain.", "OK" 41 else 42 MessageBox "Press the X button to pull out your weapon. Once your weapon is readied, hold and release the RIGHT TRIGGER to swing it. The harder you swing it, the more damage it does, but the more fatigue you will drain.", "OK" 43 endif 44 45 set done to 2 46 47 endif 48 endif 49endif 50 51end