ctrlSetURLOverlayMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.10 |branch= dev |gr1= GUI Control |descr= Sets how to handle opening of URL, default browser ot Steam overlay. Possible values:...")
 
No edit summary
Line 21: Line 21:
|x1= <sqf>_control ctrlSetURLOverlayMode 1;</sqf>
|x1= <sqf>_control ctrlSetURLOverlayMode 1;</sqf>


|seealso= [[isSteamOverlayEnabled]] [[ctrlSetURL]] [[ctrlURL]] [[menuSetURL]]
|seealso= [[isSteamOverlayEnabled]] [[ctrlURLOverlayMode]] [[ctrlURL]] [[menuSetURL]]
}}
}}

Revision as of 08:20, 3 July 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

Description

Description:
Sets how to handle opening of URL, default browser ot Steam overlay. Possible values:
  • 0 - default browser
  • 1 - Steam overlay if enabled, otherwise default browser
  • 2 - Steam overlay, shows error message box if disabled
Groups:
GUI Control

Syntax

Syntax:
control ctrlSetURLOverlayMode mode
Parameters:
control: Control - control that contain url opening action
mode: Number - overlay mode, see description
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetURLOverlayMode 1;

Additional Information

See also:
isSteamOverlayEnabled ctrlURLOverlayMode ctrlURL menuSetURL

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