class CfgPatches
{
	class cbb_compat_sma3
	{
		name = "CBB Compatibility Iaksky SMA3";
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"cbb_a3_core","iansky_opt"};
		author = "Clear Backblast!";
		Url = "http://www.reddit.com/r/clearbackblast/";
		addonRootClass = "A3_Characters_F";
	};
};


class ItemCore;
class CfgWeapons {
	class iansky_nfbeast : ItemCore {
		ACE_ScopeAdjust_Horizontal[] = {-6,6};
		ACE_ScopeAdjust_HorizontalIncrement = 0.1;
		ACE_ScopeAdjust_Vertical[] = {-4,30};
		ACE_ScopeAdjust_VerticalIncrement = 0.1;
	};
};

params['_vic','_unit','_args'];
_args params['_weaponClass','_weaponName','_weaponPath'];

private _actions = [];
private _magazines = _weaponClass call cbb_vehiclereloading_fnc_getWeaponMagazines;

{
	_x params['_class','_name'];
	private _action = [
		_class,
		_name,
		"",
		{},
		{true},
		{
			_this call cbb_vehiclereloading_fnc_actions_getLoadActions;
			_this call BIS_fnc_returnGroupComposition;
		},
		[_weaponClass,_weaponPath,_class]
	] call ace_interact_menu_fnc_createAction;

	_actions pushBack [_action,[],_vic];
} foreach _magazines;
_actions

  • Last modified: 2 years ago
  • (external edit)