{"name":"BIS_fnc_setIDCStreamFriendly","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"target","type":"Display or Control","optional":false,"default":null,"description":null,"types":["Display","Control"],"since":null,"text":"target: Display or Control"},{"name":"IDC","type":"Number","optional":true,"default":"-1","description":"control IDC when the first parameter is a display","types":["Number"],"since":null,"text":"IDC: Number - (Optional, default -1) control IDC when the first parameter is a display"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when visible, false when hidden","text":"Boolean - true when visible, false when hidden"}}],"examples":[{"text":"```sqf\n[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;\n```","code":["[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;"]},{"text":"```sqf\n[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;\n```","code":["[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["findDisplay","displayCtrl"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}