BIS fnc vehicleCrewTurrets: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 14: | Line 14: | ||
|p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type |Parameter1= | |p1= vehicle: [[Object]] or [[String]] - actual vehicle or vehicle type |Parameter1= | ||
| [[Array]] - array | | [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret) |Returnvalue1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 11:15, 1 May 2019
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:
- Uncategorised
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
[[Category:Introduced with arma3dev version 1.93]][[ Category: arma3dev: New Functions | BIS FNC VEHICLECREWTURRETS]][[ Category: arma3dev: Functions | BIS FNC VEHICLECREWTURRETS]]