Arma 3 Scripting

Command in GUI Control

ctrlFade

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the current fade factor of control.

Note

Despite having fade = 1; inside a control's config, this command will report a fade of 0.

Only the value actually set by ctrlSetFade will be returned by ctrlFade.

Syntax

ctrlFade controlName

Parameters:

Returns: Number

Examples

Example 1

_fade = ctrlFade _control;

See also

ctrlSetFade