2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-03-24 15:12:46 +00:00
|
|
|
/*
|
|
|
|
* Author: commy2
|
2023-07-23 23:07:37 +00:00
|
|
|
* Initialize variables for draggable / carryable persons. Called from init EH.
|
2015-03-24 15:12:46 +00:00
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Arguments:
|
2015-08-09 12:53:13 +00:00
|
|
|
* 0: Unit <OBJECT>
|
2015-03-24 15:12:46 +00:00
|
|
|
*
|
2016-06-18 09:50:41 +00:00
|
|
|
* Return Value:
|
2015-08-09 12:53:13 +00:00
|
|
|
* None
|
|
|
|
*
|
2016-01-28 18:52:53 +00:00
|
|
|
* Example:
|
|
|
|
* [player] call ace_dragging_fnc_initPerson;
|
|
|
|
*
|
2015-08-09 12:53:13 +00:00
|
|
|
* Public: No
|
2015-03-24 15:12:46 +00:00
|
|
|
*/
|
|
|
|
|
2015-08-09 12:53:13 +00:00
|
|
|
params ["_unit"];
|
2015-03-24 15:12:46 +00:00
|
|
|
|
2023-07-23 23:07:37 +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"
|