ctrlCommit: Difference between revisions
Jump to navigation
Jump to search
Dr Eyeball (talk | contribs) m (see also) |
Killzone Kid (talk | contribs) (no guarantees for duration) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Commits control animation to last specified duration. <br><br> | ||
{{Important | The animation is not guaranteed to last given duration exactly, it could be shorter it could be longer, it depends on how busy is the rest of the system }}|= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | control '''ctrlCommit''' time |= Syntax | ||
|p1= | |p1= control: [[Control]] - control to animate |= Parameter 1 | ||
|p2= time: [[Number]] |= Parameter 2 | |p2= time: [[Number]] - animation duration |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control [[ctrlCommit]] 2; // make animation last approx. 2 seconds</code>|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:46, 2 December 2018
Description
- Description:
- Commits control animation to last specified duration.
- Groups:
- Uncategorised
Syntax
- Syntax:
- control ctrlCommit time
- Parameters:
- control: Control - control to animate
- time: Number - animation duration
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlCommit 2; // make animation last approx. 2 seconds
Additional Information
- See also:
- ctrlCommittedctrlSetPositionctrlSetFade
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
Bottom Section
- Posted on April 11, 2015 - 23:06 (UTC)
- IT07
- Use this command if you want to for example change the position or size of a control.