ctrlSetScale: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Killzone Kid (talk | contribs) (updated description and example, removed misleading note, works with ct_picture) |
||
(16 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets wanted scale for control animation. Top left corner remains same. This command requires [[ctrlCommit]].|= Description | |||
____________________________________________________________________________________________ | |||
''' | | control '''ctrlSetScale''' scale |= Syntax | ||
|p1= control: [[Control]] |= Parameter 1 | |||
|p2= scale: [[Number]] |= Parameter 2 | |||
[[Nothing]] | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | |||
|x1= <code>_control [[ctrlSetScale]] 0.5; | |||
_control [[ctrlCommit]] 0;</code> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[ctrlScale]], [[ctrlModelScale]], [[ctrlSetModelScale]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLSETSCALE]] | |||
[[Category:Scripting Commands ArmA|CTRLSETSCALE]] | |||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] |
Revision as of 16:27, 25 March 2016
Description
- Description:
- Sets wanted scale for control animation. Top left corner remains same. This command requires ctrlCommit.
- Groups:
- Uncategorised
Syntax
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