/* * Author: PabstMirror * Test if can Become Leader of group. * * Arguments: * 1: Unit * * Return Value: * Able to become leader of group * * Example: * [player] call ace_interaction_fnc_canBecomeLeader * * Public: No */ #include "script_component.hpp" params ["_unit"]; count units group _unit > 1 && {leader group _unit != _unit}