ctrlSetScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3>" to "")
m (Text replacement - " {2,}\}\}" to " }}")
Line 21: Line 21:


| [[ctrlScale]], [[ctrlModelScale]], [[ctrlSetModelScale]]
| [[ctrlScale]], [[ctrlModelScale]], [[ctrlSetModelScale]]
}}
}}



Revision as of 00:33, 19 January 2021

Hover & click on the images for description

Description

Description:
Sets wanted scale for control animation. Top left corner remains same. This command requires ctrlCommit.
Groups:
GUI Control

Syntax

Syntax:
control ctrlSetScale scale
Parameters:
control: Control
scale: Number
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetScale 0.5; _control ctrlCommit 0;

Additional Information

See also:
ctrlScalectrlModelScalectrlSetModelScale

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