BIS_fnc_nearestPosition

From Bohemia Interactive Community
Revision as of 15:52, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search
Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
/*
	File: nearestPosition.sqf

	Description:
	Function to find the nearest Object or position from a list, 
	when compared to a given Object or position.

	Parameter(s):
	_this select 0: Array of Objects, Locations, Groups, markers (String) and / or positions (Array)
	_this select 1: Comparator Object, Location, Group, marker (String) or position (Array)
	
	Notes:
	[*] For type Group the position of its leader is used.
	
	Returns:
	Object / Location / Group / marker (String) or position (Array) which is nearest to the comparator
*/

//Valid parameter count
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)

Syntax

Syntax:
Return Value:

Examples

Example:
Example needed

Additional Information

Execution:
call
See also:
See also needed
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section