BIS fnc getTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 12:28, 7 April 2019

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