mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
456 B
Plaintext
22 lines
456 B
Plaintext
/*
|
|
* Author: commy2
|
|
* Initialize variables for drag or carryable persons. Called from init EH.
|
|
*
|
|
* Argument:
|
|
* 0: Unit <OBJECT>
|
|
*
|
|
* Return value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [player] call ace_dragging_fnc_initPerson;
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
|
|
[_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"
|