BIS fnc setIDCStreamFriendly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= GUI | |gr1= GUI | ||
| Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options. | | Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options. | ||
| [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] | | [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] | ||
|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 | ||
| [[Boolean]] - [[true]] when visible, [[false]] when hidden | | [[Boolean]] - [[true]] when visible, [[false]] when hidden | ||
|x1= <code>[ ([[findDisplay]] 1337) [[displayCtrl]] 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code> | |x1= <code>[ ([[findDisplay]] 1337) [[displayCtrl]] 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code> | ||
|x2= <code>[ [[findDisplay]] 1337, 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code> | |x2= <code>[ [[findDisplay]] 1337, 42 ] [[call]] [[BIS_fnc_setIDCStreamFriendly]];</code> | ||
| [[findDisplay]], [[displayCtrl]] | | [[findDisplay]], [[displayCtrl]] | ||
}} | }} | ||
Revision as of 23:46, 17 January 2021
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