ACE3/addons/interaction/functions/fnc_doBecomeLeader.sqf

21 lines
358 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
/*
2015-04-13 05:23:00 +00:00
* Author: PabstMirror
2015-09-28 13:37:18 +00:00
* Become Leader of group.
2015-04-13 05:23:00 +00:00
*
* Arguments:
2015-09-28 13:37:18 +00:00
* 0: Unit <OBJECT>
2015-04-13 05:23:00 +00:00
*
* Return Value:
* None
*
* Example:
2015-09-28 13:37:18 +00:00
* [player] call ace_interaction_fnc_doBecomeLeader
2015-04-13 05:23:00 +00:00
*
* Public: No
*/
2015-09-28 13:37:18 +00:00
params ["_unit"];
2015-04-13 05:23:00 +00:00
[QEGVAR(common,selectLeader), [group _unit, _unit], units group _unit] call CBA_fnc_targetEvent;