updateMenuItem

From Bohemia Interactive Community
Revision as of 16:51, 7 April 2024 by R3vo (talk | contribs) (fixed parameters for hemtt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets the text and command for the menu item. Index is index returned by addMenuItem command. Command is optional.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
map updateMenuItem [menu item index, text, command]
Parameters:
map: Control
menu item index: Number - See addMenuItem
text: String
command: String
Return Value:
Nothing

Examples

Example 1:
-

Additional Information

See also:
-

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