# 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
- Set Screen Mode —
void
— UISetMode - Set Minimum Letterbox Height —
void
— UISetMinimumLetterboxHeight - Show/Hide Game UI —
void
— libNtve_gf_HideGameUI - Add/Remove UI Frame Type For Global Filter List —
void
— libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList - UI Frame Flag — preset —
int
- UI Frame Flag Check —
bool
— libNtve_gf_UIFrameFlagCheck - For Each UI Frame — macro
- Show/Hide UI Frame —
void
— UISetFrameVisible - Set BattleNet Button Offset —
void
— UISetBattleNetButtonOffset - Clear BattleNet Button Offset —
void
— UIClearBattleNetButtonOffset - UI Frame Is Visible —
bool
— UIFrameVisible - Show/Hide World —
void
— UISetWorldVisible - Show/Hide Achievement Panel —
void
— AchievementPanelSetVisible - Show/Hide Mouse Cursor —
void
— UISetCursorVisible - Enable/Disable Mouse Cursor Auto Hide —
void
— UISetCursorAutoHide - Enable/Disable Drag Selection —
void
— UISetDragSelectEnabled - Set Hot Key Profile —
void
— UISetHotkeyProfile - Lock Ally Color Setting —
void
— UIUnitColorStyleOverride - Unlock Ally Color Setting —
void
— UIUnitColorStyleClearOverride - Lock Flyer Helper Display —
void
— UIFlyerHelperOverride - Unlock Flyer Helper Display —
void
— UIFlyerHelperClearOverride - Lock Status Bar Display —
void
— UIStatusBarOverride - Unlock Status Bar Display —
void
— UIStatusBarClearOverride - Set Achievement Toast Style —
void
— UISetAchievementToastStyle - Set Minimap Background Color —
void
— UISetMiniMapBackGroundColor - Show/Hide Minimap Camera Field of View —
void
— UISetMiniMapCameraFoVVisible - Set Minimap Bounds —
void
— UISetMiniMapBounds - Enable/Disable Command Type —
void
— UISetCommandAllowed - Turn Ability Highlight On/Off —
void
— UISetButtonHighlighted - Turn Button Highlight On/Off —
void
— UISetButtonFaceHighlighted - Set Command Type Disabled Message —
void
— UISetCommandDisallowedMessage - Show/Hide Resource —
void
— UISetResourceVisible - Enable/Disable Selection Type —
void
— UISetSelectionTypeEnabled - Launch Nydus Link —
void
— UILaunchNydusLink - Show/Hide Message Log —
void
— UIMessageLogPanelSetVisible - Set Targeting Order —
void
— UISetTargetingOrder - Enable/Disable Hotkey —
void
— UISetHotkeyAllowed - Target Mode Updated —
void
— TriggerAddEventTargetModeUpdate - Resources Requested —
void
— TriggerAddEventResourceRequest - Resources Traded —
void
— TriggerAddEventResourceTrade - Target Mode Ability Command —
abilcmd
— EventTargetModeAbilCmd - Target Mode State —
int
<preset::TargetModeState> — EventTargetModeState - Resource Requested Amount —
int
— EventResourceRequestAmount - Resource Traded Amount —
int
— EventResourceTradeAmount - Resource Traded Recipient —
int
— EventResourceTradeRecipient
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:4069
UISetMode(PlayerGroupAll(), c_uiModeFullscreen, c_transitionDurationImmediate);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/A6C3041C"));
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, true);
gv_endCinematicGroup = UnitGroup(null, gv_p3_CINE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:194
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowSmartClick, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/C9B47DEF"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:735
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowSmartClick, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/9993AB03"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:903
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:905
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"));
gv_ready = true;
TriggerEnable(gt_DisplayMultikillMessage, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:883
}
IntLoopEnd();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/7D07A721"));
if ((gv_retryCount == 2)) {
gv_retryCount = (gv_retryCount + 1);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:1052
libNtve_gf_HideScreenButton(false, gv_readyButton);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:1054
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:189
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/615A98DF"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:721
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/2FFC5827"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:889
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:891
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:189
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowMinimap, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/8D855B3F"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:703
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F9FB8152"));
return true;
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:870
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:872
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2map — MapScript.galaxy:4069
UISetMode(PlayerGroupAll(), c_uiModeFullscreen, c_transitionDurationImmediate);
libNtve_gf_HideGameUI(false, PlayerGroupAll());
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/A6C3041C"));
UISetFrameVisible(PlayerGroupAll(), c_syncFrameTypeBattleUI, true);
gv_endCinematicGroup = UnitGroup(null, gv_p3_CINE, RegionFromId(1), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:194
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowSmartClick, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/C9B47DEF"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:735
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowSmartClick, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/9993AB03"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:903
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/advancedcommand.sc2map — MapScript.galaxy:905
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/80B968CF"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/DCC5BD70"));
gv_ready = true;
TriggerEnable(gt_DisplayMultikillMessage, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:883
}
IntLoopEnd();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/7D07A721"));
if ((gv_retryCount == 2)) {
gv_retryCount = (gv_retryCount + 1);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:1052
libNtve_gf_HideScreenButton(false, gv_readyButton);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/protosspsionics.sc2map — MapScript.galaxy:1054
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/4F4F56E9"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:189
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/615A98DF"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:721
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/2FFC5827"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:889
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2map — MapScript.galaxy:891
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F6EE76D3"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
TriggerExecute(gt_ObjectiveKillUpdate, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:189
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowMinimap, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/8D855B3F"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:703
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowHotkeys, false);
UISetCommandAllowed(PlayerGroupAll(), c_uiCommandAllowButtons, false);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/F9FB8152"));
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:870
libNtve_gf_HideScreenButton(false, gv_readyButton);
VisRevealerDestroy(gv_revealer);
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2map — MapScript.galaxy:872
UISetCommandDisallowedMessage(PlayerGroupAll(), StringExternal("Param/Value/1D0198F6"));
libChal_gf_ShowRacingStart();
UISetCommandDisallowedMessage(PlayerGroupAll(), StringToText(""));
gv_ready = true;
TriggerExecute(gt_ObjectiveKillUpdate, true, false);