BIS_fnc_initVehicleCrew

From Bohemia Interactive Community
Revision as of 19:59, 20 May 2017 by Dedmen (talk | contribs) (1 revision imported: BIS Functions update 7/7)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	Author: Karel Moricky

	Description:
	Moves units into vehicle seats.
	When units don't exist, it will create them in a group of vehicle's side
	
	Parameter(s):
		0: OBJECT - vehicle
		1: ARRAY in format
			0: OBJECT or STRING - unit or unit type (will be created)
			1: STRING - role, can be "driver", "turret" or cargo"
			2: NUMBER or ARRAY - cargo index or turret path
		2 (Optional): BOOL - True to delete existing crew (default: false)
		3 (Optional): BOOL - When desired seats are occuppied, move crew in the vehicle to any other available seat (default: false)
		4 (Optional): BOOL - True to create units as agents (default: false)
	
	Returns:
	ATTAY of OBJECTS - units
*/

(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