VN_ms_fnc_isNear
Revision as of 21:02, 20 January 2021 by Lou Montana (talk | contribs) (Text replacement - "]]; |p1n=" to "]] |p1n=")
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
/* Author: Wyqer, veteran29 Date: 2019-10-14 Last Update: 2020-12-05 Public: Yes Description: Checks if most of the units or any unit (depending on params) (of given group or array) are inside a given radius of given object/position. Parameter(s): _array - Groups and/or units to check [ARRAY, defaults to []] _center - Center position or object [POSITION|OBJECT, defaults to []] _radius - Radius in which all units should be inside [NUMBER, defaults to 15] _any - Check if any unit of group is in area [BOOL, defaults to false] _3D - Check in 3D space [BOOL, defaults to false] Example(s): [[group1, group2], vn_co03_pilot, 5, true, true] call vn_ms_fnc_isNear Returns: Are all (or any) given units inside given radius from given center [BOOL] */(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)
Syntax
- Syntax
- [] call vn_ms_fnc_isNear
- Return value
- Nothing
Examples
- Example 1
-