BIS fnc setIDCStreamFriendly: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "True" to "true")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


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


| [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] |Syntax=
| [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] |Syntax=
Line 20: Line 17:


| [[Boolean]] - [[true]] when visible, [[false]] when hidden |Return value=
| [[Boolean]] - [[true]] when visible, [[false]] when hidden |Return value=
____________________________________________________________________________________________


|x1= <code>[ ([[findDisplay]] 1337) [[displayCtrl]] 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 1=
|x1= <code>[ ([[findDisplay]] 1337) [[displayCtrl]] 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 1=
Line 26: Line 22:
|x2= <code>[ [[findDisplay]] 1337, 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 2=
|x2= <code>[ [[findDisplay]] 1337, 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code>|Example 2=


____________________________________________________________________________________________


| [[findDisplay]], [[displayCtrl]]  |See also=
| [[findDisplay]], [[displayCtrl]]  |See also=

Revision as of 23:50, 16 January 2021

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:
findDisplaydisplayCtrl

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