BIS fnc randomPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (1 revision)
(No difference)

Revision as of 15:03, 25 July 2014


Hover & click on the images for description

Description

Description:
/*

	Description:
	Selects random position of given params within given area

	Parameter(s):
	_this select 0 (Optional): ARRAY - whitelist of elements:
		ARRAY - [center,radius]
		OBJECT - trigger
		STRING - one of following tags:
			"water" - all water surfaces
			"ground" - all ground surfaces
			"out" - area outside of map area
		Default value - map area
	_this select 1 (Optional): ARRAY - blacklist (same rules are for whitelist)
		Default value: ["water","out"]
	_this select 2 (Optional): CODE - custom condition

	Returns:
	ARRAY - [x,y,z]
*/


(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section