ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
Line 14: Line 14:
|r1= [[Array]] - format [angle, centerX, centerY]
|r1= [[Array]] - format [angle, centerX, centerY]


|x1= <code>[[ctrlAngle]] _control;</code>
|x1= <sqf>ctrlAngle _control;</sqf>


|seealso= [[ctrlSetAngle]]
|seealso= [[ctrlSetAngle]]
}}
}}

Revision as of 14:17, 5 May 2022

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