BIS fnc returnVehicleTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|+$" to "") |
Lou Montana (talk | contribs) m (Text replacement - " |r1=[[" to " |r1= [[") |
||
Line 22: | Line 22: | ||
|p1= configEntry: [[Config]] - vehicle config entry | |p1= configEntry: [[Config]] - vehicle config entry | ||
|r1=[[Array]] - turret paths ([0], [0, 1] format) | |r1= [[Array]] - turret paths ([0], [0, 1] format) | ||
|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> |
Revision as of 22:28, 7 August 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