# Set Custom Menu Dialog Item Text
Grammar — Set the text of menuItem to __show|Text __for players
Flags —Native
|Action
Sets the text of a specified Menu Item in the Custom Menu.
# Arguments
playergroup
— Playersint
[ preset::GameMenuDialogItem ] — Menu Itemtext
— Text
Returns — void
native void UISetCustomMenuItemText(
playergroup inPlayers,
int inMenuItemType,
text inText,
);
# Related
Category: UI / Game Menu
- [F] —
void
— Abort Mission — ( TriggerAddEventAbortMission ) - [F] —
void
— Game Menu Item Selected — ( TriggerAddEventGameMenuItemSelected ) - [F] —
int
[ preset::GameMenuDialogItem ] — Game Menu Item Selected — ( EventGameMenuItemSelected ) - [F] —
void
— Set Game Menu Dialog Item Text — ( UISetGameMenuItemText ) - [F] —
void
— Set Game Menu Dialog Item Shortcut — ( UISetGameMenuItemShortcut ) - [F] —
void
— Show/Hide Game Menu Dialog Item — ( UISetGameMenuItemVisible ) - [F] —
void
— Show Custom Menu — ( UIShowCustomMenu ) - [F] —
void
— Show Standard Menu — ( UIShowStandardMenu ) - [F] —
void
— Set Custom Menu Dialog Item Text — ( UISetCustomMenuItemText ) - [F] —
void
— Set Custom Menu Dialog Item Shortcut — ( UISetCustomMenuItemShortcut ) - [F] —
void
— Show/Hide Custom Menu Dialog Item — ( UISetCustomMenuItemVisible ) - [F] —
void
— Hide All Custom Menu Dialog Items — ( UIClearCustomMenuItemList )
# Examples
# campaigns/liberty.sc2campaign
// L8306
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/04238907"))
// L8308
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton2, StringExternal("Param/Value/9D577A69"))
// L8469
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/69974529"))
// L8471
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton2, StringExternal("Param/Value/82C49B70"))
// L8306
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/04238907"))
// L8308
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton2, StringExternal("Param/Value/9D577A69"))
// L8469
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton1, StringExternal("Param/Value/69974529"))
// L8471
UISetCustomMenuItemText(PlayerGroupAll(), c_gameMenuDialogGenericButton2, StringExternal("Param/Value/82C49B70"))