ctrlSetFade: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
No edit summary |
||
Line 41: | Line 41: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on March 10, 2015 - 02:02 (UTC)</dd> | |||
<dt class="note">[[User:Feint|Feint]]</dt> | |||
<dd class="note"> | |||
This command sets the amount of fade. For example: | |||
<code> | |||
_ctrl ctrlSetFade 1; // hides the control<br> | |||
_ctrl ctrlSetFade 0.5; // control is 50% visible<br> | |||
_ctrl ctrlSetFade 0; // control is fully visible | |||
</code> | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 03:02, 10 March 2015
Description
- Description:
- Sets wanted transparency for control animation.
- Groups:
- Uncategorised
Syntax
- Syntax:
- controlName ctrlSetFade fade
- Parameters:
- controlName: Control
- fade: Number
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetFade 1
Additional Information
- See also:
- ctrlFade
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