BIS fnc vehicleCrewTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
||
Line 1: | Line 1: | ||
{{Function| arma3|1.93|gr1 = Object Manipulation| Returns vehicle crew turrets, which will be filled with crew if [[createVehicleCrew]] command is executed on the vehicle. If vehicle class is passed as param, all vehicle crew turrets are returned.| vehicle call [[BIS_fnc_vehicleCrewTurrets]] |Syntax1= | {{Function| arma3|1.93|gr1 = Object Manipulation| Returns vehicle crew turrets, which will be filled with crew if [[createVehicleCrew]] command is executed on the vehicle. If vehicle class is passed as param, all vehicle crew turrets are returned.| vehicle call [[BIS_fnc_vehicleCrewTurrets]] |Syntax1= | ||
|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type| [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret)|x1= <code>"B_APC_Wheeled_01_cannon_F" [[call]] [[BIS_fnc_vehicleCrewTurrets]];</code> | |p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type| [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret)|x1= <code>"B_APC_Wheeled_01_cannon_F" [[call]] [[BIS_fnc_vehicleCrewTurrets]];</code> | ||
|x2= <code>car1 [[call]] [[BIS_fnc_vehicleCrewTurrets]];</code>| [[createVehicleCrew]], [[BIS_fnc_allTurrets]], [[BIS_fnc_turretConfig]] | |x2= <code>car1 [[call]] [[BIS_fnc_vehicleCrewTurrets]];</code>| [[createVehicleCrew]], [[BIS_fnc_allTurrets]], [[BIS_fnc_turretConfig]] | ||
}} | }} | ||
Revision as of 10:13, 18 January 2021
Description
- Description:
- Returns vehicle crew turrets, which will be filled with crew if createVehicleCrew command is executed on the vehicle. If vehicle class is passed as param, all vehicle crew turrets are returned.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- vehicle call BIS_fnc_vehicleCrewTurrets
- Parameters:
- vehicle: Object or String - actual vehicle or vehicle type
- Return Value:
- Array - array of turrets in form of turret path ([-1] - is for driver turret)
Examples
- Example 1:
"B_APC_Wheeled_01_cannon_F" call BIS_fnc_vehicleCrewTurrets;
- Example 2:
car1 call BIS_fnc_vehicleCrewTurrets;
Additional Information
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