Switches weapon accessories for the player.
0: _itemType | Attachment type (0: muzzle, 1: rail, 2: optic, 3: bipod). <NUMBER> |
1: _switchTo | Switch to “next” or “prev” attachement STRING |
_success | If switching was possible and keybind should be handled <BOOLEAN> |
[1, "next"] call CBA_accessory_fnc_switchAttachment; [2, "prev"] call CBA_accessory_fnc_switchAttachment;
Robalo, optimized by Anton