ACE3/addons/interaction/functions/fnc_doBecomeLeader.sqf
2016-05-24 14:13:11 +01:00

21 lines
347 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"];
["ace_selectLeader", [group _unit, _unit], units group _unit] call CBA_fnc_targetEvent;