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
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-09-28 13:37:18 +00:00
|
|
|
params ["_unit"];
|
2015-04-13 05:23:00 +00:00
|
|
|
|
2015-09-28 12:35:05 +00:00
|
|
|
["selectLeader", units group _unit, [group _unit, _unit]] call EFUNC(common,targetEvent);
|