Difference between revisions of "VN ms fnc isNear"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) m (Text replacement - " |e=" to " |a= |e=") |
||
Line 5: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
+ | |||
+ | |a= | ||
|e= | |e= |
Revision as of 19:26, 5 January 2021
← 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
-