Jump to content
Ibragim A

addWeapon if there is no space for the magazine

Recommended Posts

Hi. Does anyone have an idea how a launcher can be added to a unit along with a charge if there is not enough space for the charge in the unit's inventory? The addweapon command can only add a weapon class without a magazine, but the magazine itself must be added to the inventory before the weapon. As for the launchers, this poses a problem, because their charges are added to the backpack, and not all units have a backpack.

Can any of you suggest the best way to solve this problem?

Share this post


Link to post
Share on other sites

So far, the most effective solution I've found is to add an invisible backpack for units that don't have backpacks.

For those who have it, you need to remove all the magazines from the backpack, and then add them back after adding new weapon with its magazine.

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

×