createVehicleCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.76|= Game version ____________________...")
 
m (Added example for UAVs)
Line 17: Line 17:




|x1= <code></code>|= EXAMPLE1  
|x1= <code>// Spawn a flying UAV with crew. 
myUAV = [getPos player, 0, "B_UAV_02_F", WEST] call BIS_fnc_spawnVehicle;
createVehicleCrew (myUAV select 0);
</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 06:46, 17 August 2013

Hover & click on the images for description

Description

Description:
Creates crew to given vehicle. Crew members are default crew defined in config.
Groups:
Uncategorised

Syntax

Syntax:
createVehicleCrew vehicle
Parameters:
vehicle: Object
Return Value:
Nothing

Examples

Example 1:
// Spawn a flying UAV with crew. myUAV = [getPos player, 0, "B_UAV_02_F", WEST] call BIS_fnc_spawnVehicle; createVehicleCrew (myUAV select 0);

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