ctrlSetScale: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (updated description and example, removed misleading note, works with ct_picture) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets wanted scale for control animation. |= Description | | Sets wanted scale for control animation. Top left corner remains same. This command requires [[ctrlCommit]].|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | control '''ctrlSetScale''' scale |= Syntax | ||
|p1= | |p1= control: [[Control]] |= Parameter 1 | ||
|p2= scale: [[Number]] |= Parameter 2 | |p2= scale: [[Number]] |= Parameter 2 | ||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control [[ctrlSetScale]] 0.5; | ||
_control [[ctrlCommit]] 0;</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[ctrlScale]], [[ctrlModelScale]], [[ctrlSetModelScale]] |= See also | ||
}} | }} | ||
Line 28: | Line 29: | ||
<h3 style="display:none">Notes</h3> | <h3 style="display:none">Notes</h3> | ||
<dl class="command_description"> | <dl class="command_description"> | ||
</dl> | </dl> | ||
Line 41: | Line 37: | ||
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{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