getTurretLimits: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.12 | |version1= 2.12 | ||
|branch= dev | |||
|arg= global | |arg= global |
Revision as of 20:03, 12 January 2023
Description
- Description:
- Returns the rotation and elevation limits for the given turret.
- Groups:
- Turrets
Syntax
- Syntax:
- vehicle getTurretLimits turret
- Parameters:
- vehicle: Object - vehicle the turret belongs to
- turret: Array - turret path
- Return Value:
- Array in format [minTurn, maxTurn, minElev, maxElev, overridden], where:
Examples
- Example 1:
Additional Information
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