BIS fnc getTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2") |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Object Manipulation | ||
| | |descr= Returns vehicle turrets. | ||
| | |s1= [input, outputType] call [[BIS_fnc_getTurrets]] | ||
| [ | |p1= input: [[Object]] or [[String]] - object or object's class name | ||
|p2= outputType: [[Config]] or [[Array]] - output type (array of config paths or IDs) | |||
|p2= outputType: [[Config]] or [[Array]] - | |||
| [[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> | ||
| [[moveInTurret]] | |seealso= [[moveInTurret]] [[allTurrets]] | ||
}} | }} | ||
Latest revision as of 15:44, 8 November 2023
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