BIS fnc setIDCStreamFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |s1=[" to " |s1= [")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )C([a-z])" to "$1c$3")
Line 12: Line 12:
|p1=target: [[Display]] or [[Control]]
|p1=target: [[Display]] or [[Control]]


|p2=IDC: [[Number]] - (Optional, default -1) Control IDC when the first parameter is a display
|p2=IDC: [[Number]] - (Optional, default -1) control IDC when the first parameter is a display


|r1= [[Boolean]] - [[true]] when visible, [[false]] when hidden
|r1= [[Boolean]] - [[true]] when visible, [[false]] when hidden

Revision as of 12:23, 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