Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Tankbuster

Allow players to move ammo into a full container

Recommended Posts

Afternoon all,

 

My mission uses a Prowler as a respawn point and has some magazines in its inventory for players. The thing is, I've overfilled the ammo cargo space of the vehicle using addMagazine because there's such a wide variety of guns in use and this means players are unable to put magazines back into the magazine cargo space of the vehicle.

 

Practical example: I've been on a hilltop shooting Titan AT at vehicles in the AO. I want to switch to the AP round for the Titan, I go into the vehicle inventory screen but I'm unable to drag any unused AT rounds into the crate space as it's full. I'm then forced to drop these rounds on the ground and that's messy.


My best solution thus far is, when players aren't looking, move any dropped magazines into the magazine cargo space in script. It's ugly.
Is there a way of enabling, in the inventory dialog, the dropping of magazines into a full container?

 

 

Share this post


Link to post
Share on other sites
3 hours ago, _foley said:

How about increasing the capacity of the Prowler using https://community.bistudio.com/wiki/setMaxLoad


_prowler setMaxLoad 10000;  // execute on server

 

Oh, well found! Thank you.

I had to set it from 1800 to 7500 before the inventory was big enough to put anything in it! LOL

*correction.. my players asked for MAAWS ammo in the vehicle, so now I'm up to 10000 (as you suggested) !

Share this post


Link to post
Share on other sites

×