Difference between revisions of "VN ms fnc isNear"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{Function" to "Category:TODO {{Function") |
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
||
Line 37: | Line 37: | ||
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small> | </pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small> | ||
− | |s= [] call [[vn_ms_fnc_isNear]] | + | |s= [] call [[vn_ms_fnc_isNear]] |
|p1n= | |p1n= |
Revision as of 21:02, 20 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
-