BIS fnc initVehicleCrew: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 31: | Line 31: | ||
|x1= <code>[ someVehicle, [<nowiki/>[[player]], "driver", 0], [[true]], [[true]] ] [[call]] [[BIS_fnc_initVehicleCrew]];</code> | |x1= <code>[ someVehicle, [<nowiki/>[[player]], "driver", 0], [[true]], [[true]] ] [[call]] [[BIS_fnc_initVehicleCrew]];</code> | ||
| [[createVehicle]],[[crew]], [[driver]] | |seealso= [[createVehicle]],[[crew]], [[driver]] | ||
}} | }} |
Revision as of 00:27, 17 February 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- Syntax needed
- Parameters:
- object: Object
- params: Array - In format:
- deleteCrew: Boolean - (Optional, default false) true to delete existing crew
- anySeat: Boolean - (Optional, default false) When desired seats are occuppied, move crew in the vehicle to any other available seat
- agents: Boolean - (Optional, default false) Create crew as agents
- Return Value:
- Return value needed
Examples
- Example 1:
[ someVehicle, [player, "driver", 0], true, true ] call BIS_fnc_initVehicleCrew;
Additional Information
- See also:
- createVehiclecrewdriver
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