cmf_utility_fnc_nearestPlayer

From cluster wiki
Revision as of 19:49, 17 December 2022 by Eric (talk | contribs) (Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function returns the nearest playerunit to the supplied object |exec=Call |cmp=utility...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description
Description
Description:
This function returns the nearest playerunit to the supplied object
Execution:
Call
Groups:
CMF3: utility
Syntax
Syntax:
[object] call cmf_utility_fnc_nearestPlayer
Parameters:
object: Object - The object to use as the center position
Return Value:
None
Examples
Example 1:
[enemyUnit] call cmf_utility_fnc_nearestPlayer;
Additional Information
See also:
See also needed
Internal Variables
No internal variables
Events
No events
Notes