Difference between revisions of "cmf utility fnc nearestPlayer"
Jump to navigation
Jump to search
(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...") |
|||
Line 20: | Line 20: | ||
|x1= {{code|lang=scilab|[enemyUnit] call cmf_utility_fnc_nearestPlayer;}} | |x1= {{code|lang=scilab|[enemyUnit] call cmf_utility_fnc_nearestPlayer;}} | ||
|seealso= [[cmf_utility_fnc_submitAAR]] [[cmf_utility_fnc_clearVehicleCargo]] [[cmf_utility_fnc_countDown]] [[cmf_utility_fnc_endLoadingScreen]] [[cmf_utility_fnc_freezeTime]] | |||
[[cmf_utility_fnc_preventProne]] [[cmf_utility_fnc_restrictZeus]] [[cmf_utility_fnc_stripUnit]] | |||
}} | }} |
Latest revision as of 22:11, 17 December 2022
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:
- cmf_utility_fnc_submitAAR cmf_utility_fnc_clearVehicleCargo cmf_utility_fnc_countDown cmf_utility_fnc_endLoadingScreen cmf_utility_fnc_freezeTime cmf_utility_fnc_preventProne cmf_utility_fnc_restrictZeus cmf_utility_fnc_stripUnit
Internal Variables
- No internal variables
Events
- No events
Notes