BIS fnc getTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
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...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Object Manipulation | |gr1 = Object Manipulation | ||
| Return vehicle turrets. | | Return vehicle turrets. | ||
| [input, outputType] call [[BIS_fnc_getTurrets]] | | [input, outputType] call [[BIS_fnc_getTurrets]] | ||
|p1= input: [[Object]] or [[String]] - Object or object's class name | |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]] - Output type (array of config paths or IDs) | ||
| [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | | [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | ||
|x1= <code>[ [[vehicle]] [[player]] ] [[call]] [[BIS_fnc_getTurrets]];</code> | |x1= <code>[ [[vehicle]] [[player]] ] [[call]] [[BIS_fnc_getTurrets]];</code> | ||
| [[moveInTurret]], [[allTurrets]] | | [[moveInTurret]], [[allTurrets]] | ||
}} | }} | ||
Revision as of 23:00, 17 January 2021
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