NearestPlayer

From cluster wiki
Revision as of 14:34, 26 March 2022 by Eric (talk | contribs)
Jump to navigation Jump to search
Description
Description:

Returns the nearest player to object.

Execution:

call

Groups:

Utilities: Eric's Mission Framework

Syntax
Syntax:

[obj] call emf_utilities_fnc_nearestPlayer

Parameters:

Obj: Object - Object to use as the root point of search.

Return Value:

Object - Returns nearest player to Unit.

Examples
Example 1:
[this] call emf_utilities_fnc_nearestPlayer;
Additional Information
See also:


Notes