BIS fnc getTurrets: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 18: Line 18:
|x1= <code>[<nowiki/>[[vehicle]] [[player]]]  [[call]] [[BIS_fnc_getTurrets]];</code>
|x1= <code>[<nowiki/>[[vehicle]] [[player]]]  [[call]] [[BIS_fnc_getTurrets]];</code>


|seealso= [[moveInTurret]], [[allTurrets]]
|seealso= [[moveInTurret]] [[allTurrets]]
}}
}}

Revision as of 23:39, 20 January 2022

Hover & click on the images for description

Description

Description:
Returns 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:
moveInTurret allTurrets

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