BIS fnc returnVehicleTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|= | {{Function|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00| | |1.00|Game version= | ||
|gr1 = Vehicles |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Return the path to all turrets and sub-turrets in a vehicle. | | Return the path to all turrets and sub-turrets in a vehicle. | ||
{{Feature arma3|Does not seem to work in {{arma3}}. Use [[allTurrets]] and [[BIS_fnc_allTurrets]] instead}} |= | {{Feature|arma3|Does not seem to work in {{arma3}}. Use [[allTurrets]] and [[BIS_fnc_allTurrets]] instead}} |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |= | | [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |SYNTAX= | ||
|p1= configEntry: [[Config]] - vehicle config entry |= | |p1= configEntry: [[Config]] - vehicle config entry |PARAMETER1= | ||
| [[Array]] - turret paths ([0], [0, 1] format) |= | | [[Array]] - turret paths ([0], [0, 1] format) |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |= | |x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[allTurrets]], [[BIS_fnc_allTurrets]] |= | | [[allTurrets]], [[BIS_fnc_allTurrets]] |SEEALSO= | ||
}} | }} | ||
Line 32: | Line 34: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:returnVehicleTurrets}}]] | [[Category:Functions|{{uc:returnVehicleTurrets}}]] | ||
[[Category:{{Name|arma2}}: Functions|{{uc:returnVehicleTurrets}}]] | [[Category:{{Name|arma2}}: Functions|{{uc:returnVehicleTurrets}}]] |
Revision as of 12:12, 27 December 2020
Description
- Description:
- Return the path to all turrets and sub-turrets in a vehicle.
- Execution:
- call
- Groups:
- Vehicles
Syntax
- Syntax:
- [configEntry] call BIS_fnc_returnVehicleTurrets
- Parameters:
- configEntry: Config - vehicle config entry
- Return Value:
- Array - turret paths ([0], [0, 1] format)
Examples
- Example 1:
[configFile >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] call BIS_fnc_returnVehicleTurrets;
Additional Information
- See also:
- allTurretsBIS_fnc_allTurrets
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