ctrlSetFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (sentence formatting of my own note.)
Line 37: Line 37:
|user= Nelis.75733126
|user= Nelis.75733126
|timestamp= 20240416211007
|timestamp= 20240416211007
|text= Unfortunately, in Arma 3 2.17, this command only has effect on the text of a <syntaxhighlight lang="cpp" inline>class RscToolbox</syntaxhighlight>
|text= Unfortunately, in Arma 3 2.17, when <sqf inline>ctrlSetFade</sqf> is used on a CtrlToolbox or RscToolbox, it only has effect on the text of it.
}}
}}

Revision as of 13:59, 21 April 2024

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
Nelis.75733126 - c
Posted on Apr 16, 2024 - 21:10 (UTC)
Unfortunately, in Arma 3 2.17, when ctrlSetFade is used on a CtrlToolbox or RscToolbox, it only has effect on the text of it.