ctrlSetFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 28: Line 28:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_control ctrlSetFade 1;
|x1= <sqf>_control ctrlSetFade 1;
_control ctrlCommit 5;</code>
_control ctrlCommit 5;</sqf>


|seealso= [[ctrlFade]] [[cutFadeOut]] [[ctrlCommit]]
|seealso= [[ctrlFade]] [[cutFadeOut]] [[ctrlCommit]]
}}
}}

Revision as of 10:22, 13 May 2022

Hover & click on the images for description

Description

Description:
Sets wanted transparency for control animation. Requires ctrlCommit to commit changes. To hide or show a control instantly, use ctrlShow.
Groups:
GUI Control

Syntax

Syntax:
controlName ctrlSetFade fade
Parameters:
controlName: Control
fade: Number
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFade 1; _control ctrlCommit 5;

Additional Information

See also:
ctrlFade cutFadeOut ctrlCommit

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