2017-06-08 13:31:51 +00:00
|
|
|
/*
|
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
|
|
|
|
*/
|
2017-06-08 13:31:51 +00:00
|
|
|
|
2015-04-13 05:23:00 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-09-28 13:37:18 +00:00
|
|
|
params ["_unit"];
|
2015-04-13 05:23:00 +00:00
|
|
|
|
2016-06-04 10:12:56 +00:00
|
|
|
[QEGVAR(common,selectLeader), [group _unit, _unit], units group _unit] call CBA_fnc_targetEvent;
|