Lucy Utils Functions - GdC-Framework/GdC_lib GitHub Wiki

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