/* * Author: commy2 * Taps a shoulder * * Arguments: * 0: Unit * 1: Target * 2: Shoulder which was tapped [0: left, 1: right] * * Return Value: * None * * Example: * [player, target, 0] call ace_interaction_fnc_tapShoulder * * Public: No */ #include "script_component.hpp" params ["_unit", "_target", "_shoulderNum"]; if (_unit == ACE_player) then { addCamShake [4, 0.5, 5]; }; _unit playActionNow "PutDown"; ["tapShoulder", [_target], [_target, _shoulderNum]] call EFUNC(common,targetEvent);