ctrlFade

From Bohemia Interactive Community
Revision as of 14:18, 21 April 2024 by Nelis75733126 (talk | contribs) (changed my note to a informative feature due to better exposure. considering how infuriating the possibly expected behaviour of "fade = 1" can be.)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns the current fade factor of control.
Despite having fade = 1; inside a control's config, ctrlFade will still report a fade of 0.
Only the value actually set by ctrlSetFade will be returned by ctrlFade.
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