ctrlFade: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\] _([a-zA-Z0-9_]+);?<\/code>" to "<sqf>_$1 = $2 _$3;</sqf>") |
No edit summary |
||
Line 29: | Line 29: | ||
|seealso= [[ctrlSetFade]] | |seealso= [[ctrlSetFade]] | ||
}} | |||
{{Note | |||
|user= Nelis.75733126 | |||
|timestamp= 20240416192556 | |||
|text= If you use <syntaxhighlight lang="cpp" inline>fade = 1;</syntaxhighlight> on a control in your dialog definitions, is has zero effect on what <sqf inline>ctrlFade</sqf> returns.<br> | |||
Meaning: <sqf inline>ctrlFade</sqf> will only return a value that has been set by [[ctrlSetFade]] | |||
}} | }} |
Revision as of 20:25, 16 April 2024
Description
- Description:
- Returns the current fade factor of control.
- Groups:
- GUI Control
Syntax
Examples
- Example 1:
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
- 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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: GUI Control