ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|descr= Gets rotation info of a control set as {{hl|ST_PICTURE}}. Supported control types:
|descr= Gets rotation info of a control set as {{hl|ST_PICTURE}}. Supported control types:
* [[CT_STATIC]]
* [[CT_STATIC]]
* [[CT_ACTIVETEXT]] (Since Arma 3 v2.09.149642)
* {{GVI|arma3|2.10|size= 0.75}} [[CT_ACTIVETEXT]]


|s1= [[ctrlAngle]] control
|s1= [[ctrlAngle]] control
Line 14: Line 14:
|p1= control : [[Control]]  - picture control
|p1= control : [[Control]]  - picture control


|r1= [[Array]] - format [angle, centerX, centerY]
|r1= [[Array]] of [[Number]]s in format [angle, centerX, centerY]


|x1= <sqf>ctrlAngle _control;</sqf>
|x1= <sqf>ctrlAngle _control;</sqf>

Latest revision as of 23:40, 30 June 2024

Hover & click on the images for description

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 of Numbers in format [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 or on the Forums.
Only post proven facts here! Add Note