Has anyone tried using this in their maps?
https://community.bistudio.com/wiki/Arsenal
It's like a super shiny Virtual Ammobox, a bit easier to use and has a nice 3D preview showing different weapon stats (ROF, range etc).
Virtual Ammo Box
You can also use Arsenal as virtual inventory, allowing players to get unlimited number of items of given types from an ammo box. Action to access the Arsenal will be added automatically on all clients, you don't need to use addAction to enable it.
Syntax (shared by all mentioned functions):
["AmmoboxInit",<box>] spawn BIS_fnc_arsenal;or
["AmmoboxInit",[,(,)]] spawn BIS_fnc_arsenal;box: Object - ammo box on which the action will be added
allowAll (Optional): Boolean - true to add all available weapons, magazines, items and backpacks in the box
condition (Optional) (Development build only): Condition for showing the Arsenal action (default: {true})
Passed arguments are the same as in addAction condition, i.e., _target - the box, _this - caller
Returned value: Nothing
Example (paste it into init field of a box)
0 = ["AmmoboxInit",[this,true]] spawn BIS_fnc_arsenal;(http://arma3.com/assets/img/post/images/roadmap_14_15_2.jpg)
This is part of the new stuff that came through with the Zeus updates, it's all official BI stuff so should be easy to implement.
That is very nice.
If there is other official BI stuff we can add, maybe we should also look into it?