Jump to content
Sign in to follow this  
Matthijs

Pistol weaponslot

Recommended Posts

Hi all,

You may already know the following:

WeaponNoSlot

WeaponSlotPrimary

WeaponSlotSecondary

WeaponSlotItem

WeaponSlotBinocular

WeaponHardMounted

Now, how can I define a PISTOL weapon slot for my soldier???

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (Matthijs @ April 24 2003,02:33)</td></tr><tr><td id="QUOTE">Now, how can I define a PISTOL weapon slot for my soldier???<span id='postcolor'>

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

#define WeaponNoSlot 0 // dummy weapons

#define WeaponSlotPrimary 1 // primary weapons

#define WeaponSlotSecondary 16 // secondary weapons

#define WeaponSlotHandGun 2 // HandGun

#define WeaponSlotHandGunItem 32 // HandGun magazines

#define WeaponSlotItem 256 // items

#define WeaponSlotBinocular 4096 // binocular

#define WeaponHardMounted 65536

<span id='postcolor'>

Official BIStudio stuff at Breathe

Share this post


Link to post
Share on other sites

ehem...

Thank you...

<span style='font-size:8pt;line-height:100%'>sorry...</span>

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×