ACE3/addons/dragging/functions/fnc_initPerson.sqf

20 lines
410 B
Plaintext
Raw Permalink Normal View History

2015-03-24 15:12:46 +00:00
/*
* Author: commy2
*
* Initialize variables for drag or carryable persons. Called from init EH.
*
* Argument:
* 0: Any Unit (Object)
*
* Return value:
* NONE.
*/
#include "script_component.hpp"
private "_unit";
_unit = _this select 0;
2015-03-24 18:07:39 +00:00
[_unit, true, [0,1.1,0.092], 180] call FUNC(setDraggable);
[_unit, true, [0.4,-0.1,-1.25], 195] call FUNC(setCarryable); // hard-coded selection: "LeftShoulder"