mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix tap shoulders keybind
This commit is contained in:
parent
eed76d5bcf
commit
89fe91cce0
@ -51,7 +51,7 @@ private ["_team"];
|
|||||||
if !([ACE_player, cursorTarget] call FUNC(canTapShoulder)) exitWith {false};
|
if !([ACE_player, cursorTarget] call FUNC(canTapShoulder)) exitWith {false};
|
||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
[ACE_player, cursorTarget] call FUNC(tapShoulder);
|
[ACE_player, cursorTarget, 0] call FUNC(tapShoulder);
|
||||||
true
|
true
|
||||||
},
|
},
|
||||||
{false},
|
{false},
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
* Arguments:
|
* Arguments:
|
||||||
* 0: Player <OBJECT>
|
* 0: Player <OBJECT>
|
||||||
* 1: Target <OBJECT>
|
* 1: Target <OBJECT>
|
||||||
|
* 2: Shoulder which was tapped <NUMBER>
|
||||||
*
|
*
|
||||||
* Return value:
|
* Return value:
|
||||||
* None
|
* None
|
||||||
@ -16,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
EXPLODE_3_PVT(_this,_tapper,_target,_shoulderNum);
|
PARAMS_3(_tapper,_target,_shoulderNum);
|
||||||
|
|
||||||
if (_target != ACE_player) exitWith {
|
if (_target != ACE_player) exitWith {
|
||||||
addCamShake [4, 0.5, 5];
|
addCamShake [4, 0.5, 5];
|
||||||
|
Loading…
Reference in New Issue
Block a user