ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 6: Line 6:
|gr1= GUI Control - Positioning
|gr1= GUI Control - Positioning


|descr= Gets rotation info of an <tt>ST_PICTURE</tt> control.
|descr= Gets rotation info of an {{hl|ST_PICTURE}} control.


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

Revision as of 00:45, 16 November 2021

Hover & click on the images for description

Description

Description:
Gets rotation info of an ST_PICTURE control.
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