BIS fnc setIDCStreamFriendly: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - ">\[ +(.*) *\] +(call|spawn)" to ">[$1] $2") |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 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. | |descr= Shows or hides UI control according to state of the Stream Friendly UI switch in Game Options. | ||
| [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] | |s1= [target,IDC] call [[BIS_fnc_setIDCStreamFriendly]] | ||
|p1=target: [[Display]] or [[Control]] | |p1=target: [[Display]] or [[Control]] | ||
|p2=IDC: [[Number]] - (Optional, default -1) | |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 | ||
|x1= < | |x1= <sqf>[(findDisplay 1337) displayCtrl 42] call BIS_fnc_setIDCStreamFriendly;</sqf> | ||
|x2= < | |x2= <sqf>[findDisplay 1337, 42] call BIS_fnc_setIDCStreamFriendly;</sqf> | ||
|seealso= [[findDisplay]] | |seealso= [[findDisplay]] [[displayCtrl]] | ||
}} | }} | ||
Latest revision as of 17:27, 8 November 2023
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:
- Example 2:
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