mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
21 lines
434 B
Plaintext
21 lines
434 B
Plaintext
|
#include "..\script_component.hpp"
|
||
|
/*
|
||
|
* Author: PabstMirror
|
||
|
* Checks if the unit can drop distant units from their group
|
||
|
*
|
||
|
* Arguments:
|
||
|
* 0: Unit <OBJECT>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* Unit can drop distant units <BOOL>
|
||
|
*
|
||
|
* Example:
|
||
|
* [player] call ace_interaction_fnc_canGroupDropDistantUnits
|
||
|
*
|
||
|
* Public: No
|
||
|
*/
|
||
|
|
||
|
params ["_unit"];
|
||
|
|
||
|
(_unit == leader _unit) && {missionNamespace getVariable [QGVAR(groupDropUnitDistance), 100] > 0}
|