BIS fnc getTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (pf)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma 3 |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Return vehicle turrets. |= Description
____________________________________________________________________________________________


Description:
| [input, outputType] call [[BIS_fnc_getTurrets]] |= Syntax
Return vehicle turrets
____________________________________________________________________________________________


Parameter(s):
|p1= input: [[Object]] or [[String]] - Object or object's class name|= Parameter 1
0: OBJECT or STRING (classname)
|p2= outputType: [[Config]] or [[Array]] - Output type (array of config paths or IDs)|= Parameter 2
1: CONFIG or ARRAY - output type (array of config paths or IDs)
 
Returns:
ARRAT of CONFIGs or ARRAYs
*/
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_getTurrets]]; --> |= Syntax
| [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets|= Return value
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[ [[vehicle]] [[player]] ]  [[call]] [[BIS_fnc_getTurrets]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[BIS_fnc_allTurrets]]|= See also
| [[moveInTurret]], [[allTurrets]] |= See also
}}


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 16:27, 5 June 2018

Hover & click on the images for description

Description

Description:
Return vehicle turrets.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[input, outputType] call BIS_fnc_getTurrets
Parameters:
input: Object or String - Object or object's class name
outputType: Config or Array - Output type (array of config paths or IDs)
Return Value:
Array of configs or Array - vehicle turrets

Examples

Example 1:
[ vehicle player ] call BIS_fnc_getTurrets;

Additional Information

See also:
moveInTurretallTurrets

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


Notes

Bottom Section