ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
No edit summary
Line 6: Line 6:
|gr1= GUI Control - Positioning
|gr1= GUI Control - Positioning


|descr= Gets rotation info of an {{hl|ST_PICTURE}} control.
|descr= Gets rotation info of a control set as {{hl|ST_PICTURE}}. Supported control types:
* [[CT_STATIC]]
* [[CT_ACTIVETEXT]] (Since Arma 3 v2.09.149642)


|s1= [[ctrlAngle]] control
|s1= [[ctrlAngle]] control

Revision as of 20:46, 4 July 2022

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 - 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