2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-02-04 19:16:19 +00:00
|
|
|
/*
|
|
|
|
* Author: PabstMirror
|
2015-02-06 23:03:56 +00:00
|
|
|
* Remove handcuffs from a target
|
2015-02-04 19:16:19 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2021-09-03 19:38:49 +00:00
|
|
|
* 0: Caller <OBJECT>
|
|
|
|
* 1: Target <OBJECT>
|
2015-02-04 19:16:19 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* The return value <BOOL>
|
|
|
|
*
|
|
|
|
* Example:
|
2021-09-03 19:38:49 +00:00
|
|
|
* [bob, bill] call ACE_captives_fnc_doRemoveHandcuffs
|
2015-02-04 19:16:19 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
2015-08-04 23:15:20 +00:00
|
|
|
params ["_unit", "_target"];
|
2015-02-04 19:16:19 +00:00
|
|
|
|
2021-09-03 19:38:49 +00:00
|
|
|
[QGVAR(setHandcuffed), [_target, false, _unit], [_target]] call CBA_fnc_targetEvent;
|