menuSetURL: Difference between revisions
Jump to navigation
Jump to search
m (added 2nd syntax) |
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|arma3Dev |= Game | |arma3Dev |= Game | ||
|2.01 | |2.01 | ||
|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]] | |||
|s2= control [[menuSetURL]] [path, link] |ALTSYNTAX1= | |s2= control [[menuSetURL]] [path, link] |ALTSYNTAX1= | ||
Line 30: | Line 29: | ||
|r2= [[Nothing]] |ALTRETURNVALUE1= | |r2= [[Nothing]] |ALTRETURNVALUE1= | ||
|x1= <Code>_ctrlMenuStrip [[menuSetURL]] [<nowiki>[</nowiki>0,0,1], "<nowiki>https://arma3.com/</nowiki>"];</code> | |x1= <Code>_ctrlMenuStrip [[menuSetURL]] [<nowiki>[</nowiki>0,0,1], "<nowiki>https://arma3.com/</nowiki>"];</code> | ||
|[[menuURL]] | |[[menuURL]] | ||
}} | }} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 11:07, 23 January 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:
- See also needed
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