Difference between revisions of "BIS fnc returnVehicleTurrets"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
+
{{RV|type=function
____________________________________________________________________________________________
 
  
| arma2 |Game name=
+
| arma2
 +
|1.00
  
|1.00|Game version=
+
|game2= arma2oa
____________________________________________________________________________________________
+
|version2= 1.50
 +
 
 +
|game3= tkoh
 +
|version3= 1.00
 +
 
 +
|game4= arma3
 +
|version4= 0.50
 +
 
 +
|gr1= Vehicles
  
 
| 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}}
____________________________________________________________________________________________
 
  
| [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |SYNTAX=
+
|s1=[configEntry] call [[BIS_fnc_returnVehicleTurrets]]
  
|p1= configEntry: [[Config]] - vehicle config entry |PARAMETER1=
+
|p1= configEntry: [[Config]] - vehicle config entry
  
| [[Array]] - turret paths ([0], [0, 1] format) |RETURNVALUE=
+
|r1=[[Array]] - turret paths ([0], [0, 1] format)
____________________________________________________________________________________________
 
  
|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>
____________________________________________________________________________________________
 
  
| [[allTurrets]], [[BIS_fnc_allTurrets]] |SEEALSO=
+
|seealso= [[allTurrets]], [[BIS_fnc_allTurrets]]
 
}}
 
}}
  
<h3 style="display:none">Notes</h3>
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
 
<!-- Note Section END -->
 
</dl>
 
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Function Group: Spawning|{{uc:returnVehicleTurrets}}]]
 
[[Category:Functions|{{uc:returnVehicleTurrets}}]]
 
 
[[Category:{{Name|arma2}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|arma2}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|arma2oa}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|tkoh}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|tkoh}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:returnVehicleTurrets}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:returnVehicleTurrets}}]]

Latest revision as of 16:57, 12 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