BIS fnc selectCrew: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
Line 29: | Line 29: | ||
|x1= <code>[[private]] _crewType = [<nowiki/>[[blufor]], [[configFile]] >> "CfgVehicles" >> "B_MRAP_01_F"] [[call]] [[BIS_fnc_selectCrew]];</code> | |x1= <code>[[private]] _crewType = [<nowiki/>[[blufor]], [[configFile]] >> "CfgVehicles" >> "B_MRAP_01_F"] [[call]] [[BIS_fnc_selectCrew]];</code> | ||
|seealso= [[crew]] | |seealso= [[crew]] [[createVehicleCrew]] | ||
}} | }} |
Revision as of 12:58, 1 July 2022
Description
- Description:
- Return an appropriate crew type for a certain vehicle.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [side, configEntry] call BIS_fnc_selectCrew
- Parameters:
- side: Side - only supports west (blufor) and east (opfor) for default value (if "crew" entry is not found)
- configEntry: Config - the vehicle config path
- Return Value:
- String - crew type, empty if crew type not found
Examples
- Example 1:
private _crewType = [blufor, configFile >> "CfgVehicles" >> "B_MRAP_01_F"] call BIS_fnc_selectCrew;
Additional Information
- See also:
- crew createVehicleCrew
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