BIS fnc initVehicleCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (1 revision imported: BIS Functions update 7/7)
(No difference)

Revision as of 20:59, 20 May 2017


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