BIS fnc selectCrew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 8: Line 8:


| Return an appropriate crew type for a certain vehicle.<br>
| Return an appropriate crew type for a certain vehicle.<br>
{{Important|
{{Feature|important|
This function should work properly in {{arma3}}, but be aware that if "crew" config entry is not defined in vehicle config then specific {{arma2}} class names will be used as default values (''"USMC_Soldier_Crew"'', ''"US_Soldier_Crew_EP1"'', ''"RU_Soldier_Crew"'', ''"TK_Soldier_Crew_EP1"'')}}
This function should work properly in {{arma3}}, but be aware that if "crew" config entry is not defined in vehicle config then specific {{arma2}} class names will be used as default values (''"USMC_Soldier_Crew"'', ''"US_Soldier_Crew_EP1"'', ''"RU_Soldier_Crew"'', ''"TK_Soldier_Crew_EP1"'')}}



Revision as of 03:09, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
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:
Return value needed

Examples

Example 1:
_crewType = [blufor, configFile >> "CfgVehicles" >> "B_MRAP_01_F"] call BIS_fnc_selectCrew;

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