ACE3/addons/interaction/functions/fnc_doBecomeLeader.sqf

22 lines
404 B
Plaintext
Raw Normal View History

2015-04-13 05:23:00 +00:00
/*
* Author: PabstMirror
* Become Leader of group
*
* Arguments:
* 0: Target <OBJECT>
* 1: Player <OBJECT>
2015-04-13 05:23:00 +00:00
*
* Return Value:
* None
*
* Example:
* [player, player] call ace_interaction_fnc_doBecomeLeader
*
* Public: No
*/
#include "script_component.hpp"
PARAMS_2(_target,_player);
[QGVAR(selectLeader), (units group _player), [(group _player), _player]] call EFUNC(common,targetEvent);