BIS fnc returnVehicleTurrets: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Vehicles |GROUP1= | |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}} |DESCRIPTION= | {{Feature|arma3|Does not seem to work in {{arma3}}. Use [[allTurrets]] and [[BIS_fnc_allTurrets]] instead}} |DESCRIPTION= | ||
| [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |SYNTAX= | | [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |SYNTAX= | ||
Line 18: | Line 15: | ||
| [[Array]] - turret paths ([0], [0, 1] format) |RETURNVALUE= | | [[Array]] - turret paths ([0], [0, 1] format) |RETURNVALUE= | ||
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |EXAMPLE1= | |x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |EXAMPLE1= | ||
| [[allTurrets]], [[BIS_fnc_allTurrets]] |SEEALSO= | | [[allTurrets]], [[BIS_fnc_allTurrets]] |SEEALSO= |
Revision as of 23:50, 16 January 2021
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