ctrlCommit: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
||
Line 24: | Line 24: | ||
}} | }} | ||
[[Category:Scripting Commands|CTRLCOMMIT]] | [[Category:Scripting Commands|CTRLCOMMIT]] |
Revision as of 01:36, 18 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
- 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.