BIS fnc getTurrets: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *[^d][^=]+ \| *p1 *=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Object Manipulation | ||
| | |descr= Returns vehicle turrets. | ||
|s1= | |s1= [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) | ||
|r1=[[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | |r1=[[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets | ||
|x1= <code>[ [[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 22:09, 10 June 2021
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:
- 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