{"name":"BIS_fnc_setIDCStreamFriendly","title":"BIS fnc setIDCStreamFriendly","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setIDCStreamFriendly","revid":349413,"updated":"2023-11-08T16:27:27Z","groups":["GUI"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","description":"Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options.","syntaxes":[{"syntax":"[target,IDC] call BIS_fnc_setIDCStreamFriendly","params":[{"name":"target","type":"Display or Control","type_expr":"Display | Control"},{"name":"IDC","type":"Number","optional":true,"default":"-1","description":"control IDC when the first parameter is a display","type_expr":"Number","text":"IDC: Number - (Optional, default -1) control IDC when the first parameter is a display"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true when visible, false when hidden"}}],"examples":[{"code":["[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;"]},{"code":["[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;"]}],"see_also":["findDisplay","displayCtrl"]}