Check whether these are any players within a certain distance of a unit.
_unit | the entity to check the distance from. <OBJECT> |
_distance | the desired distance. <NUMBER> |
true if there are any players within the given distance of the unit, false if there aren’t. <BOOLEAN>
[unit, distance] call CBA_fnc_nearPlayer