ctrlAngle: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
BrettMayson (talk | contribs) mNo edit summary |
||
Line 14: | Line 14: | ||
|p1= control : [[Control]] - picture control | |p1= control : [[Control]] - picture control | ||
|r1= [[Array]] | |r1= [[Array]] of [[Number]]s in format [angle, centerX, centerY] | ||
|x1= <sqf>ctrlAngle _control;</sqf> | |x1= <sqf>ctrlAngle _control;</sqf> |
Revision as of 21:26, 28 September 2023
Description
- Description:
- Gets rotation info of a control set as ST_PICTURE. Supported control types:
- CT_STATIC
- CT_ACTIVETEXT (Since Arma 3 v2.09.149642)
- 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