ctrlSetURLOverlayMode: Difference between revisions
Killzone Kid (talk | contribs) (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:...") |
m (fixed typo) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.10 | |version1= 2.10 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
|descr= Sets how to handle opening of URL, default browser | |descr= Sets how to handle opening of URL, default browser or Steam overlay. Possible values: | ||
* 0 - default browser | * 0 - default browser | ||
* 1 - Steam overlay if enabled, otherwise default browser | * 1 - Steam overlay if enabled, otherwise default browser | ||
* 2 - Steam overlay, shows error message box if disabled | * 2 - Steam overlay, shows error message box if disabled (the box has a button to continue with default browser) | ||
{{Feature|informative|Toggling Steam overlay in Steam options will require game restart for the changes to take effect.}} | |||
|s1= control [[ctrlSetURLOverlayMode]] mode | |s1= control [[ctrlSetURLOverlayMode]] mode | ||
Line 21: | Line 22: | ||
|x1= <sqf>_control ctrlSetURLOverlayMode 1;</sqf> | |x1= <sqf>_control ctrlSetURLOverlayMode 1;</sqf> | ||
|seealso= [[isSteamOverlayEnabled]] [[ | |seealso= [[isSteamOverlayEnabled]] [[ctrlURLOverlayMode]] [[ctrlURL]] [[menuSetURL]] | ||
}} | }} |
Latest revision as of 11:12, 22 July 2025
Description
- Description:
- Sets how to handle opening of URL, default browser or Steam overlay. Possible values:
- 0 - default browser
- 1 - Steam overlay if enabled, otherwise default browser
- 2 - Steam overlay, shows error message box if disabled (the box has a button to continue with default browser)
- 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
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