BIS fnc returnVehicleTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2")
m (Text replacement - " \[\[Category:\{\{Name|[a-z0-9]+\}\}: Functions\|\{\{uc:[a-zA-Z0-9]+\}\}\]\]" to "")
Line 28: Line 28:
|seealso= [[allTurrets]], [[BIS_fnc_allTurrets]]
|seealso= [[allTurrets]], [[BIS_fnc_allTurrets]]
}}
}}
 
||||
[[Category:{{Name|arma2}}: Functions|{{uc:returnVehicleTurrets}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnVehicleTurrets}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:returnVehicleTurrets}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:returnVehicleTurrets}}]]

Revision as of 23:00, 16 June 2021

Hover & click on the images for description

Description

Description:
Return the path to all turrets and sub-turrets in a vehicle.
Arma 3
Does not seem to work in Arma 3. Use allTurrets and BIS_fnc_allTurrets instead
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

||||