Jump to content
Sign in to follow this  
nikodemus

adding satchel charges to units

Recommended Posts

Hi,

I've consulted the weapons class here in order to obtain all the class names to add in the player.

The player is called A1, and this is what's in is init line:

removeAllWeapons A1; A1 addWeapon 'M4A1_AIM_SD_camo'; A1 addWeapon 'M9SD'; A1 addMagazine '30Rnd_556x45_StanagSD'; A1 addMagazine '30Rnd_556x45_StanagSD'; A1 addMagazine '30Rnd_556x45_StanagSD'; A1 addMagazine '15Rnd_9x19_M9SD'; A1 addMagazine '15Rnd_9x19_M9SD'; A1 addWeapon 'NVGoggles'; A1 addWeapon 'MineE'; 

All works well except the last bit, in regards to 'MineE' (which I'm assuming is the statchel charge? Correct me if I'm wrong), since I get the following error:

Error: Creating weapon MineE with scope=private

The same error applies to the 'TimeBomb' and 'PipeBomb' weapons.

What am I doing wrong?? Thanks in advance:)

Share this post


Link to post
Share on other sites

All "put" (placable for a better word perhaps) weapons such as mines, satchels, etc... are magazines, and as such need to be added with addMagazine.

Share this post


Link to post
Share on other sites

Ah, right, ops, so it's not under weapon.... I must've thought it was from the W0lle post.

My Bad!

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  

×