ctrlFade

From Bohemia Interactive Community
Revision as of 20:25, 16 April 2024 by Nelis75733126 (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns the current fade factor of control.
Groups:
GUI Control

Syntax

Syntax:
ctrlFade controlName
Parameters:
controlName: Control
Return Value:
Number

Examples

Example 1:
_scale = ctrlFade _control;

Additional Information

See also:
ctrlSetFade

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 - 19:25 (UTC)
If you use fade = 1; on a control in your dialog definitions, is has zero effect on what ctrlFade returns.
Meaning: ctrlFade will only return a value that has been set by ctrlSetFade