Skip to content

Lucy Utils Functions

TheShinriel edited this page May 15, 2018 · 1 revision

GDC_fnc_lucyGetNearestPlayer

Exemple

[getPos _this] call GDC_fnc_lucyGetNearestPlayer
	Description:
	Return the nearest player of a position

	Parameter(s):
		0 : ARRAY - The position to test

	Returns:
	An array which contains: [Nearest player, distance]

GDC_fnc_lucyGetRandomFormation

_randomFormation = [] call GDC_fnc_lucyAddWaypointListMoveCycle;
	Description:
	Return a random formation group string

	Parameter(s):
    None

	Returns:
	random formation
Clone this wiki locally