Arma 3 Scripting

ctrlFade

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · 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