ctrlAngle: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
m (return value formatted for HEMTT) |
||
| (21 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3| | |game1= arma3 | ||
|version1= 1.52 | |||
| | |gr1= GUI Control - Positioning | ||
| | |descr= Gets rotation info of a control set as {{hl|ST_PICTURE}}. Supported control types: | ||
* [[CT_STATIC]] | |||
* {{GVI|arma3|2.10|size= 0.75}} [[CT_ACTIVETEXT]] | |||
| | |s1= [[ctrlAngle]] control | ||
| [[ | |p1= control: [[Control]] - picture control | ||
| | |r1= [[Array]] with [angle, centerX, centerY] | ||
* angle: [[Number]] | |||
* centerX: [[Number]] | |||
* centerY: [[Number]] | |||
| | |x1= <sqf>ctrlAngle _control;</sqf> | ||
|seealso= [[ctrlSetAngle]] | |||
| | |||
}} | }} | ||
Latest revision as of 19:04, 3 May 2026
Description
- Description:
- Gets rotation info of a control set as ST_PICTURE. Supported control types:
- Groups:
- GUI Control - Positioning
Syntax
- Syntax:
- ctrlAngle control
- Parameters:
- control: Control - picture control
- Return Value:
- Array with [angle, centerX, centerY]
Examples
- Example 1:
- ctrlAngle _control;
Additional Information
- See also:
- ctrlSetAngle
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note