BomosBoy 13 Posted June 29, 2016 I there a way to get the bullet count of magazines in the inventory? the command "ammo" is only for loaded magazines. MagazinesDetail returns only a string no count. Share this post Link to post Share on other sites
kylania 568 Posted June 29, 2016 magazinesAmmoFull should work I believe. 1 Share this post Link to post Share on other sites
BomosBoy 13 Posted June 29, 2016 Yea i hope so thx! Is there maby a smaller command for only 1 magazine? Share this post Link to post Share on other sites
kylania 568 Posted June 29, 2016 Yea i hope so thx! Is there maby a smaller command for only 1 magazine? Just for your current mag. Should be able to reverse and find/select/whatever out just the ammo count though. Share this post Link to post Share on other sites
BomosBoy 13 Posted June 30, 2016 I think there is a lack of scripting commands for items etc. For example i want to change my vest with a script. So i coded "removeVest player"; "player addVest "vest"; " now iam looping though all the items to return them in the right place. But the command "addItemToUniform" cant set the amount of ammo for a magazine. The only command that support such things is "addMagazine[name, ammo]". I asked myself how BI handles the change of equipment in the inventory without loosing magazines ammo count etc and still have the items in the right place... Share this post Link to post Share on other sites
sarogahtyp 1109 Posted June 30, 2016 I use everyContainer in my SSSC project to cover that. it gives u the objects (2nd element of each returned container array) of vests, uniforms and backpacks. with that objects u can use addMagazineCargo. Share this post Link to post Share on other sites