Arma 3 Scripting

Command in GUI Control - Menu

menuSetURL

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets weblink (URL) of given menu strip entry, subject to allowedHTMLLoadURIs[] whitelisting in CfgCommands config.

Syntax

Syntax 1

menuSetURL [idc, path, link]

Parameters:

Returns: Nothing

Syntax 2

control menuSetURL [path, link]

Parameters:

Returns: Nothing

Examples

Example 1

_ctrlMenuStrip menuSetURL [[0,0,1], "https://arma3.com/"];

See also

menuURL · ctrlSetURL