ctrlSetFade: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) (needs commit) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets wanted transparency for control animation. |= Description | | Sets wanted transparency for control animation. Requires [[ctrlCommit]] to commit changes. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control [[ctrlSetFade]] 1;</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlFade]] |= See also | | [[ctrlFade]], [[cutFadeOut]] |= See also | ||
}} | }} |
Revision as of 11:29, 10 March 2015
Description
- Description:
- Sets wanted transparency for control animation. Requires ctrlCommit to commit changes.
- Groups:
- Uncategorised
Syntax
- Syntax:
- controlName ctrlSetFade fade
- Parameters:
- controlName: Control
- fade: Number
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetFade 1;
Additional Information
- See also:
- ctrlFadecutFadeOut
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 March 10, 2015 - 02:02 (UTC)
- Feint
-
This command sets the amount of fade. For example:
_ctrl ctrlSetFade 1; // hides the control
_ctrl ctrlSetFade 0.5; // control is 50% visible
_ctrl ctrlSetFade 0; // control is fully visible