Loadout manager A simple scroll wheel based loadout manager. Parameters You can find this inside each script as well. A slight edit of previous code, this one will save your magazines ammo count as well. Here an example of usage within map's init.Īnother example of map's init. Usage Just an explanation on how it works. Though it would be nice of you to put my name into credits. If you are interested in the workarounds scroll to the bottom of this post. In the end it turns out to be this big but it does also works perfectly and exactly how you would expect it to work. After days of testing and debuging i found out that Arma 3 is not perfect. Why should i use it? Well i was sceptical at first as well, i was like hell i don't need to use lines script if i can just write it with 20 lines. Ideal for revive scripts where you have to set exactly the same loadout to newly created unit.
All this while preserving order of items. Though I will gladly accept any pull requests on github.