ACE3/addons/interaction/functions/fnc_doBecomeLeader.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
358 B
Plaintext

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