menuSetURL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - " |arma3Dev |2.01" to " |arma3 |2.02") |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| | |arma3 | ||
|2. | |2.02 | ||
|gr1= GUI Control - Menu | |gr1= GUI Control - Menu | ||
| Sets weblink (URL) of given menu strip entry. | | Sets weblink (URL) of given menu strip entry. | ||
| [[menuSetURL]] [idc, path, link] | | [[menuSetURL]] [idc, path, link] | ||
|p1= idc: [[Number]] | |p1= idc: [[Number]] | ||
|p2= path: [[Array]] | |p2= path: [[Array]] | ||
|p3= link: [[String]] | |p3= link: [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= control [[menuSetURL]] [path, link] | |||
| | |p21= control: [[Control]] | ||
| | |p22= path: [[Array]] | ||
| | |p23= link: [[String]] | ||
| | |r2= [[Nothing]] | ||
| | |x1= <Code>_ctrlMenuStrip [[menuSetURL]] [<nowiki>[</nowiki>0,0,1], "<nowiki>https://arma3.com/</nowiki>"];</code> | ||
| | |seealso= [[menuURL]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:20, 24 February 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Menu
Syntax
- Syntax:
- Syntax needed
- Parameters:
- idc: Number
- path: Array
- link: String
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- control menuSetURL [path, link]
- Parameters:
- control: Control
- path: Array
- link: String
- Return Value:
- Nothing
Examples
- Example 1:
_ctrlMenuStrip menuSetURL [[0,0,1], "https://arma3.com/"];
Additional Information
- See also:
- menuURL
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