ctrlSetScale: Difference between revisions
Jump to navigation
Jump to search
m (marked example code properly) |
Killzone Kid (talk | contribs) (updated description and example, removed misleading note, works with ct_picture) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets wanted scale for control animation. Top left corner remains same. |= 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= <code>_control [[ctrlSetScale]] 0.5</code> |= Example 1 | |x1= <code>_control [[ctrlSetScale]] 0.5; | ||
_control [[ctrlCommit]] 0;</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
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> | ||
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