2015-02-03 02:04:50 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
|
|
|
* TODO
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* 0: _unit <OBJECT>
|
|
|
|
*
|
|
|
|
* Return Value:
|
|
|
|
* The return value <BOOL>
|
|
|
|
*
|
|
|
|
* Example:
|
2015-02-06 23:03:56 +00:00
|
|
|
* [bob] call ACE_captives_fnc_handleWokeUp
|
2015-02-03 02:04:50 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
PARAMS_1(_unit);
|
|
|
|
|
2015-02-05 22:39:45 +00:00
|
|
|
if (_unit getVariable [QGVAR(isHandcuffed), false] && {vehicle _unit == _unit}) then {
|
2015-02-04 05:56:51 +00:00
|
|
|
[_unit] call EFUNC(common,fixLoweredRifleAnimation);
|
|
|
|
[_unit, "ACE_AmovPercMstpScapWnonDnon", 0] call EFUNC(common,doAnimation);
|
2015-02-03 02:04:50 +00:00
|
|
|
};
|