BIN_fnc_findPath

From Bohemia Interactive Community
Revision as of 15:50, 6 December 2019 by Lou Montana (talk | contribs) (Text replacement - "{{Feature arma3contact|This function is part of the Arma 3 Contact expansion only.}}" to "{{Feature arma3contact}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.941.94
Hover & click on the images for descriptions

Description

Description:
/*

	Description:
	A* search algorithm.
	Uses hard-coded Manhattan distance to measure distance.

	Parameter(s):
		0: ARRAY of ARRAYs in format:
			0: NUMBER - node cost
			1: ARRAY - array of neighbor indexes
			2: ARRAY - XYZ position of the node, used to measure distance from end pos
		1: NUMBER - index of starting point
		2: NUMBER - index of ending point

	Returns:
	ARRAY of NUMBERs - indexes of nodes which are traversed on the way to the ending point
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
arma3 Contact logo black.png
This content is exclusive to the Arma 3 Contact Expansion.

Syntax

Syntax:
Return Value:

Examples

Example:
Example needed

Additional Information

Execution:
call
See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section