BIS fnc getTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma 3 |Game name=" to "| arma3 |Game name=")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Object Manipulation |GROUP1=
|gr1 = Object Manipulation |GROUP1=
____________________________________________________________________________________________


| Return vehicle turrets. |DESCRIPTION=
| Return vehicle turrets. |DESCRIPTION=
____________________________________________________________________________________________


| [input, outputType] call [[BIS_fnc_getTurrets]] |SYNTAX=
| [input, outputType] call [[BIS_fnc_getTurrets]] |SYNTAX=
____________________________________________________________________________________________


|p1= input: [[Object]] or [[String]] - Object or object's class name|PARAMETER1=
|p1= input: [[Object]] or [[String]] - Object or object's class name|PARAMETER1=
|p2= outputType: [[Config]] or [[Array]] - Output type (array of config paths or IDs)|PARAMETER2=
|p2= outputType: [[Config]] or [[Array]] - Output type (array of config paths or IDs)|PARAMETER2=
____________________________________________________________________________________________


| [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets|RETURNVALUE=
| [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets|RETURNVALUE=
____________________________________________________________________________________________


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


| [[moveInTurret]], [[allTurrets]] |SEEALSO=
| [[moveInTurret]], [[allTurrets]] |SEEALSO=

Revision as of 00:10, 17 January 2021

Hover & click on the images for description

Description

Description:
Return vehicle turrets.
Execution:
call
Groups:
Object Manipulation

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