Difference between revisions of "BIS fnc returnVehicleTurrets"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page filling)
m (template:command argument fix)
Line 8: Line 8:
  
 
| 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=
  
|p1= configEntry: [[Config]] - vehicle config entry |= Parameter 1
+
|p1= configEntry: [[Config]] - vehicle config entry |PARAMETER1=
  
| [[Array]] - turret paths ([0], [0, 1] format) |= Return value
+
| [[Array]] - turret paths ([0], [0, 1] format) |RETURNVALUE=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |= Example 1
+
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[allTurrets]], [[BIS_fnc_allTurrets]] |= See also
+
| [[allTurrets]], [[BIS_fnc_allTurrets]] |SEEALSO=
 
}}
 
}}
  

Revision as of 14:32, 7 April 2019

Introduced with Arma 2 version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Return the path to all turrets and sub-turrets in a vehicle.
Arma 3 logo black.png
Does not seem to work in Arma 3. Use allTurrets and BIS_fnc_allTurrets instead

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

Execution:
call
See also:
allTurretsBIS_fnc_allTurrets

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section