BIS fnc setIDCStreamFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= GUI


|1.00|= Game version
|descr= Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.
____________________________________________________________________________________________


| <pre>/*
|s1= [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]]


Description:
|p1=target: [[Display]] or [[Control]]
Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.


Parameter(s):
|p2=IDC: [[Number]] - (Optional, default -1) control IDC when the first parameter is a display
0: DISPLAY or CONTROL
1: NUMBER - control IDC when the first parameter is a display


Returns:
|r1= [[Boolean]] - [[true]] when visible, [[false]] when hidden
BOOL - true when the control is visible, false when it's not
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;</sqf>
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_setIDCStreamFriendly]]; --> |= Syntax
|x2= <sqf>[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;</sqf>
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[findDisplay]] [[displayCtrl]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:setIDCStreamFriendly}}]]
[[Category:Functions|{{uc:setIDCStreamFriendly}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:setIDCStreamFriendly}}]]

Latest revision as of 18:27, 8 November 2023

Hover & click on the images for description

Description

Description:
Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[target,IDC] call BIS_fnc_setIDCStreamFriendly
Parameters:
target: Display or Control
IDC: Number - (Optional, default -1) control IDC when the first parameter is a display
Return Value:
Boolean - true when visible, false when hidden

Examples

Example 1:
[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;
Example 2:
[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;

Additional Information

See also:
findDisplay displayCtrl

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