Jump to content
Sign in to follow this  
HamishUK

Adding and deleting weapons.

Recommended Posts

This has probably been asked before. If I want to remove certain pieces of kit from a soldiers inventory and add others how does one do this?

For example removing a couple of satchel charges from a SF Saboteur and adding some normal grenades or whatnot.

Cheers guys.

PS: Thanks for the feedback on scripts now starting to get the hang of the real basics!

Share this post


Link to post
Share on other sites
Quote[/b] ]

HamishUK wrote :

This has probably been asked before.

I guess so, anyway try to put the following lines into the init file of your unit :

To remove a pipebomb : this removeMagazine "Pipebomb"

To add a grenade : this addMagazine “HandGrenadeâ€

For further info see the OFP/ArmA scripting commands here :

http://community.bistudio.com/wiki/Category:Scripting_Commands

and the list of weapons here :

http://community.bistudio.com/wiki/ArmA:_Weapons

Share this post


Link to post
Share on other sites
Quote[/b] ]

HamishUK wrote :

This has probably been asked before.

I guess so, anyway try to put the following lines into the init file of your unit :

To remove a pipebomb : this removeMagazine "Pipebomb"

To add a grenade : this addMagazine “HandGrenadeâ€

For further info see the OFP/ArmA scripting commands here :

http://community.bistudio.com/wiki/Category:Scripting_Commands

and the list of weapons here :

http://community.bistudio.com/wiki/ArmA:_Weapons

Ahh fantastic! Thanks! notworthy.gif

My Coop with 5 teamates (3 Satchels apiece) for one target seems a slight overkill. so wanted one guy to carry the charges whilst the others provide all-round defence.

Share this post


Link to post
Share on other sites

What are Satchel Charges listed as cannot seem to fine them?

**EDIT** Never mind listed as Pipebomb banghead.gif

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  

×