BIS fnc allTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 31: | Line 31: | ||
| [[allTurrets]], [[BIS_fnc_getTurrets]], [[BIS_fnc_turretConfig]], [[BIS_fnc_vehicleCrewTurrets]] | | [[allTurrets]], [[BIS_fnc_getTurrets]], [[BIS_fnc_turretConfig]], [[BIS_fnc_vehicleCrewTurrets]] | ||
}} | }} | ||
[[Category:Functions|{{uc:allTurrets}}]] | [[Category:Functions|{{uc:allTurrets}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:allTurrets}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:allTurrets}}]] |
Revision as of 21:56, 31 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- Syntax needed
- Parameters:
- vehicleClass: String - Classname of the vehicle
- Return Value:
- Return value needed
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:
_allTurrets = "C_Offroad_01_F" call BIS_fnc_allTurrets; // []
- Example 2:
_allTurrets = ["C_Offroad_01_F", true] call BIS_fnc_allTurrets; // [[0],[1],[2],[3]]
- Example 3:
_allTurrets = ["C_Offroad_01_F", false] call BIS_fnc_allTurrets; // []
Additional Information
- See also:
- See also needed
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