BIS fnc vehicleCrewTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " (\|[pr][0-9]+ *= *[^-]+) *- *A([a-z])" to " $1 - a$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2") |
||
Line 10: | Line 10: | ||
|s1= vehicle call [[BIS_fnc_vehicleCrewTurrets]] | |s1= vehicle call [[BIS_fnc_vehicleCrewTurrets]] | ||
|p1= vehicle: [[Object]] or [[String]] - | |p1= vehicle: [[Object]] or [[String]] - vehicle or vehicle type | ||
|r1= [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret) | |r1= [[Array]] - array of turrets in form of turret path ([-1] - is for driver turret) |
Latest revision as of 15:53, 8 November 2023
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:
- Example 2:
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