BIS_fnc_initVehicleCrew

From Bohemia Interactive Community
Revision as of 19:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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