ACE3/addons/interaction/functions/fnc_doBecomeLeader.sqf
2016-06-04 11:12:56 +01:00

21 lines
356 B
Plaintext

/*
* Author: PabstMirror
* Become Leader of group.
*
* Arguments:
* 0: Unit <OBJECT>
*
* Return Value:
* None
*
* Example:
* [player] call ace_interaction_fnc_doBecomeLeader
*
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
[QEGVAR(common,selectLeader), [group _unit, _unit], units group _unit] call CBA_fnc_targetEvent;