Difference between revisions of "BIS fnc returnVehicleTurrets"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
 
{{Function|= Comments
 
{{Function|= Comments
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
Line 8: Line 7:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <pre>
+
| 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
File: fn_returnVehicleTurrets.sqf
 
 
 
Description:
 
Function return the path to all turrets and sub-turrets in a vehicle.
 
 
 
Parameter(s):
 
_this select 0: vehicle config entry (Config)
 
 
 
Returns:
 
Array of Scalars and Arrays - path to all turrets
 
*/
 
 
 
//Validate parameter count
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| <!-- [] call [[BIS_fnc_returnVehicleTurrets]]; --> |= Syntax
+
| [configEntry] call [[BIS_fnc_returnVehicleTurrets]] |= Syntax
  
|p1= |= Parameter 1
+
|p1= configEntry: [[Config]] - vehicle config entry |= Parameter 1
  
| |= Return value
+
| [[Array]] - turret paths ([0], [0, 1] format) |= Return value
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
|x1= <code></code> |=  
+
|x1= <code><nowiki>[</nowiki>[[configFile]] >> "CfgVehicles" >> "B_MBT_01_TUSK_F"] [[call]] [[BIS_fnc_returnVehicleTurrets]];</code> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| |= See also
+
| [[allTurrets]], [[BIS_fnc_allTurrets]] |= See also
 
 
 
}}
 
}}
  

Revision as of 22:34, 29 April 2018

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 and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section