BIS fnc getTurrets: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma 3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Return vehicle turrets. |= Description | ||
____________________________________________________________________________________________ | |||
| [input, outputType] call [[BIS_fnc_getTurrets]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= input: [[Object]] or [[String]] - Object or object's class name|= Parameter 1 | |||
|p2= outputType: [[Config]] or [[Array]] - Output type (array of config paths or IDs)|= Parameter 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Array]] of [[Config|configs]] or [[Array]] - vehicle turrets|= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[ [[vehicle]] [[player]] ] [[call]] [[BIS_fnc_getTurrets]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ | | [[moveInTurret]], [[allTurrets]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> |
Revision as of 16:27, 5 June 2018
Description
- Description:
- Return vehicle turrets.
- Execution:
- call
- Groups:
- Uncategorised
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