ctrlCommit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= GUI Control |GROUP1= | |gr1= GUI Control |GROUP1= | ||
| Commits control animation to last specified duration. <br><br> | | 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= | {{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= | | control '''ctrlCommit''' time |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_control [[ctrlCommit]] 2; // make animation last approx. 2 seconds</code>|EXAMPLE1= | |x1= <code>_control [[ctrlCommit]] 2; // make animation last approx. 2 seconds</code>|EXAMPLE1= | ||
| [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]] |SEEALSO=: | | [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]] |SEEALSO=: |
Revision as of 00:28, 17 January 2021
Description
- Description:
- Commits control animation to last specified duration.
- Groups:
- GUI Control
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.