BIS fnc vehicleCrewTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (out of dev)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.94


|1.93|Game version=
|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. |Description=
|descr= 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=
|s1= vehicle call [[BIS_fnc_vehicleCrewTurrets]]


|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type |Parameter1=
|p1= vehicle: [[Object]] or [[String]] - vehicle or vehicle type


| [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret) |Returnvalue1=
|r1= [[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> |Example1=
|x1= <sqf>"B_APC_Wheeled_01_cannon_F" call BIS_fnc_vehicleCrewTurrets;</sqf>
|x2= <code>car1 [[call]] [[BIS_fnc_vehicleCrewTurrets]];</code> |Example2=
____________________________________________________________________________________________


| [[createVehicleCrew]], [[BIS_fnc_allTurrets]], [[BIS_fnc_turretConfig]]|See also=
|x2= <sqf>car1 call BIS_fnc_vehicleCrewTurrets;</sqf>
 
|seealso= [[createVehicleCrew]] [[BIS_fnc_allTurrets]] [[BIS_fnc_turretConfig]]
}}
}}
[[Category:Functions|{{uc:vehicleCrewTurrets}}]]
[[Category:Function Group: Objects|{{uc:vehicleCrewTurrets}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:vehicleCrewTurrets}}]]

Latest revision as of 15:53, 8 November 2023

Hover & click on the images for description

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 - 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

See also:
createVehicleCrew BIS_fnc_allTurrets BIS_fnc_turretConfig

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