NearestPlayer

From cluster wiki
Revision as of 20:01, 15 June 2021 by Eric (talk | contribs) (Created page with "<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Description</div> <dl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
Description:

Returns the nearest player to unit.

Execution:

call

Groups:

Utility Functions: Eric's Mission Framework

Syntax
Syntax:

[unit] call EMF_fnc_nearestPlayer

Parameters:

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

Return Value:

Object - Returns nearest player to Unit.

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


Notes