ctrlSetFade: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(needs commit)
(example)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctrlSetFade]] 1;</code> |= Example 1
|x1= <code>_control [[ctrlSetFade]] 1;
_control [[ctrlCommit]] 5;</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:30, 10 March 2015

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets wanted transparency for control animation. Requires ctrlCommit to commit changes.
Groups:
Uncategorised

Syntax

Syntax:
controlName ctrlSetFade fade
Parameters:
controlName: Control
fade: Number
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFade 1; _control ctrlCommit 5;

Additional Information

See also:
ctrlFadecutFadeOut

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

Notes

Bottom Section

Posted on March 10, 2015 - 02:02 (UTC)
Feint
This command sets the amount of fade. For example: _ctrl ctrlSetFade 1; // hides the control
_ctrl ctrlSetFade 0.5; // control is 50% visible
_ctrl ctrlSetFade 0; // control is fully visible