BIS fnc allTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "sqf>_([a-zA-Z0-9_]+) = " to "sqf>private _$1 = ") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
(One intermediate revision by the same user not shown) | |||
Line 28: | Line 28: | ||
|x3= <sqf>private _allTurrets = ["C_Offroad_01_F", false] call BIS_fnc_allTurrets; // []</sqf> | |x3= <sqf>private _allTurrets = ["C_Offroad_01_F", false] call BIS_fnc_allTurrets; // []</sqf> | ||
|seealso= [[allTurrets]] [[BIS_fnc_getTurrets]] | |seealso= [[allTurrets]] [[BIS_fnc_getTurrets]] [[BIS_fnc_turretConfig]] [[BIS_fnc_vehicleCrewTurrets]] | ||
}} | }} |
Latest revision as of 12:58, 1 July 2022
Description
- Description:
- Returns all vehicle turrets from config with options. Does what allTurrets command does, except the param is vehicle's config classname.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- vehicleClass call BIS_fnc_allTurrets
- Parameters:
- vehicleClass: String - classname of the vehicle
- Return Value:
- Array of turret paths
Alternative Syntax
- Syntax:
- [vehicleClass, personTurrets] call BIS_fnc_allTurrets
- Parameters:
- vehicleClass: String - classname of the vehicle
- personTurrets: Boolean - true to include FFV (firing from vehicle) turrets, false to exclude them
- Return Value:
- Array
Examples
- Example 1:
- Example 2:
- Example 3:
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