BIS fnc getTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
Line 16: | Line 16: | ||
|r1= [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | |r1= [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | ||
|x1= < | |x1= <sqf>[vehicle player] call BIS_fnc_getTurrets;</sqf> | ||
|seealso= [[moveInTurret]] [[allTurrets]] | |seealso= [[moveInTurret]] [[allTurrets]] | ||
}} | }} |
Revision as of 17:00, 13 July 2022
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:
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