_map_copy_condition =
{
	('ItemMap' in (assignedItems _player)) && ('ItemMap' in (assignedItems _target)) && ([_player, _target, []] call ace_common_fnc_canInteractWith)
};

_map_copy_action =
[
	"MilSimCopyMap",
	"Copy Map",
	"\a3\ui_f\data\igui\cfg\actions\talk_ca.paa",
	{
		[_target,_player] call milsim_fnc_copyMapFromPlayer
	},
	_map_copy_condition
] call ace_interact_menu_fnc_createAction;

["Man", 0, ["ACE_MainActions"], _map_copy_action, true] call ace_interact_menu_fnc_addActionToClass;