Selects a weapon including correctly selecting a weapon mode of specified.
Has to be executed on the machine where the unit is local.
|_unit||Unit object to perform function on. <OBJECT>|
|_weapon||Weapon or muzzle to select STRING|
|_mode||Weapon mode to switch to [optional] STRING (default: “”)|
Success or Failed <BOOLEAN>
_result = [player, secondaryWeapon player] call CBA_fnc_selectWeapon; _result = [player, currentWeapon player, "FullAuto"] call CBA_fnc_selectWeapon; _result = [player, "LMG_M200_body"] call CBA_fnc_selectWeapon;