ctrlAngle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <!-- DISCONTINUE Notes -->" to "")
m (Text replacement - " {3,}\|" to " |")
Line 14: Line 14:


| [[Array]] - format [angle, centerX, centerY]
| [[Array]] - format [angle, centerX, centerY]


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

Revision as of 17:03, 18 January 2021

Hover & click on the images for description

Description

Description:
Gets rotation info of an ST_PICTURE control.
Groups:
GUI Control

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