Jump to content
Sign in to follow this  
roguetrooper

Command: inventorySpaceFor

Recommended Posts

According to backpackSpaceFor there should be a command "inventorySpaceFor" to check whether a unit is able to add an item to his inventory at all (e.g. to check when the backpack is full but there's still enough space in the vest for that item). I know, when there isn't enough space at all, an item won't be added - but that's not the point.

Share this post


Link to post
Share on other sites
I know, when there isn't enough space at all, an item won't be added - but that's not the point.

I beg to differ :cool:. I remember for Arma2 I was working on a weapons loadout system, and I had to check for space because I could literally obtain an unlimited amount of magazines by simply hitting the button that gave the magazine. 60 stanag mags (in A2) no big deal haha. In short, it could prove useful, althoiugh there is already a function that checks for space. I'd need to dig it out / find it.

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  

×