ctrlSetScale: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (brought notes in proper format)
m (marked example code properly)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_control [[ctrlSetScale]] 0.5</pre> |= Example 1
|x1= <code>_control [[ctrlSetScale]] 0.5</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:12, 25 March 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets wanted scale for control animation. Top left corner remains same.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_control ctrlSetScale 0.5

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

Notes

Posted on March 19, 2010 - 01:26 (CET)
Hendo
This command doesn't seem to work with ST_PICTURE. A workaround is to use the ST_HTML control and embed the picture using image tags.

Bottom Section