# Set Command Type Disabled Message
Grammar — Set command type disabled message for playerGroup to textMessage
Flags —Native
|Action
Specifies the message to be displayed to players when they attempt to use a command that has been disabled by the “Enable/Disable Command Type” action.
# Arguments
playergroup
— PlayerGrouptext
— TextMessage
Returns — void
native void UISetCommandDisallowedMessage(
playergroup players,
text message,
);
# Related
Category: UI / Game UI
- [F] —
void
— Set Screen Mode — ( UISetMode ) - [F] —
void
— Set Minimum Letterbox Height — ( UISetMinimumLetterboxHeight ) - [F] —
void
— Show/Hide Game UI — ( libNtve_gf_HideGameUI ) - [F] —
void
— Add/Remove UI Frame Type For Global Filter List — ( libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList ) - [P] — UI Frame Flag
- [F] —
bool
— UI Frame Flag Check — ( libNtve_gf_UIFrameFlagCheck ) - [F] —
void
— For Each UI Frame — ( ) - [F] —
void
— Show/Hide UI Frame — ( UISetFrameVisible ) - [F] —
void
— Set BattleNet Button Offset — ( UISetBattleNetButtonOffset ) - [F] —
void
— Clear BattleNet Button Offset — ( UIClearBattleNetButtonOffset ) - [F] —
bool
— UI Frame Is Visible — ( UIFrameVisible ) - [F] —
void
— Show/Hide World — ( UISetWorldVisible ) - [F] —
void
— Show/Hide Achievement Panel — ( AchievementPanelSetVisible ) - [F] —
void
— Show/Hide Mouse Cursor — ( UISetCursorVisible ) - [F] —
void
— Enable/Disable Mouse Cursor Auto Hide — ( UISetCursorAutoHide ) - [F] —
void
— Enable/Disable Drag Selection — ( UISetDragSelectEnabled ) - [F] —
void
— Set Hot Key Profile — ( UISetHotkeyProfile ) - [F] —
void
— Lock Ally Color Setting — ( UIUnitColorStyleOverride ) - [F] —
void
— Unlock Ally Color Setting — ( UIUnitColorStyleClearOverride ) - [F] —
void
— Lock Flyer Helper Display — ( UIFlyerHelperOverride ) - [F] —
void
— Unlock Flyer Helper Display — ( UIFlyerHelperClearOverride ) - [F] —
void
— Lock Status Bar Display — ( UIStatusBarOverride ) - [F] —
void
— Unlock Status Bar Display — ( UIStatusBarClearOverride ) - [F] —
void
— Set Achievement Toast Style — ( UISetAchievementToastStyle ) - [F] —
void
— Set Minimap Background Color — ( UISetMiniMapBackGroundColor ) - [F] —
void
— Show/Hide Minimap Camera Field of View — ( UISetMiniMapCameraFoVVisible ) - [F] —
void
— Set Minimap Bounds — ( UISetMiniMapBounds ) - [F] —
void
— Enable/Disable Command Type — ( UISetCommandAllowed ) - [F] —
void
— Turn Ability Highlight On/Off — ( UISetButtonHighlighted ) - [F] —
void
— Turn Button Highlight On/Off — ( UISetButtonFaceHighlighted ) - [F] —
void
— Set Command Type Disabled Message — ( UISetCommandDisallowedMessage ) - [F] —
void
— Show/Hide Resource — ( UISetResourceVisible ) - [F] —
void
— Enable/Disable Selection Type — ( UISetSelectionTypeEnabled ) - [F] —
void
— Launch Nydus Link — ( UILaunchNydusLink ) - [F] —
void
— Show/Hide Message Log — ( UIMessageLogPanelSetVisible ) - [F] —
void
— Set Targeting Order — ( UISetTargetingOrder ) - [F] —
void
— Enable/Disable Hotkey — ( UISetHotkeyAllowed ) - [F] —
void
— Target Mode Updated — ( TriggerAddEventTargetModeUpdate ) - [F] —
void
— Resources Requested — ( TriggerAddEventResourceRequest ) - [F] —
void
— Resources Traded — ( TriggerAddEventResourceTrade ) - [F] —
abilcmd
— Target Mode Ability Command — ( EventTargetModeAbilCmd ) - [F] —
int
[ preset::TargetModeState ] — Target Mode State — ( EventTargetModeState ) - [F] —
int
— Resource Requested Amount — ( EventResourceRequestAmount ) - [F] —
int
— Resource Traded Amount — ( EventResourceTradeAmount ) - [F] —
int
— Resource Traded Recipient — ( EventResourceTradeRecipient )
# Examples
# campaigns/liberty.sc2campaign
// L194
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/C9B47DEF"))
// L735
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/9993AB03"))
// L903
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"))
// L905
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"))
// L883
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/7D07A721"))
// L1052
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"))
// L1054
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))
// L189
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/615A98DF"))
// L721
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/2FFC5827"))
// L889
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"))
// L891
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))
// L189
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/8D855B3F"))
// L703
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F9FB8152"))
// L870
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"))
// L872
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))
// L4069
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/A6C3041C"))
// L4069
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/A6C3041C"))
// L194
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/C9B47DEF"))
// L735
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/9993AB03"))
// L903
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"))
// L905
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"))
// L883
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/7D07A721"))
// L1052
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"))
// L1054
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))
// L189
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/615A98DF"))
// L721
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/2FFC5827"))
// L889
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"))
// L891
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))
// L189
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/8D855B3F"))
// L703
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F9FB8152"))
// L870
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"))
// L872
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""))