# Set Achievement Toast Style
Grammar — Set the Achievement Toast Style for players to style
Flags —Native
|Action
|Restricted
Sets the skin used for achievement toasts.
# Arguments
playergroup
— Playersint
<preset::AchievementToastStyle> — Style
Returns — void
native void UISetAchievementToastStyle(
playergroup inPlayers,
int style,
);
# 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/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12758
}
libSwaC_gf_ZS_PrepareLoadingScreen(lp_map, true);
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleZerg);
if ((libSwaC_gf_LastMap() == null) && (libSwaC_gf_CampaignDebugModeIsOn("ProgressCheat") == true) && ((libSwaC_gf_CurrentMap() == "ZLab1") || (libSwaC_gf_CurrentMap() == "ZStoryLab"))) {
libSwaC_gv_zSX_DebugProgress = true;
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6599
}
if ((lp_map == "SC2Epilogue02")) {
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleTerran);
}
else if ((lp_map == "SC2Epilogue03")) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6602
}
else if ((lp_map == "SC2Epilogue03")) {
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleZerg);
}
else if (true) {
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6605
}
else if (true) {
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleProtoss );
}
libVoiC_gf_PC_PrepareLoadingScreen(lp_map, true);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:2281
UISetGameMenuItemVisible(PlayerGroupAll(), c_gameMenuDialogAbortButton, false);
}
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleTerran);
if ((libComC_gf_LastMap() == null) && (libNovC_gf_CampaignDebugModeIsOn("ProgressCheat") == true) && (libComC_gf_CampaignMapTypeCheck(libComC_gf_CurrentMap(), c_mapKindStory) == true) && (libComC_gf_CurrentMap() == "NStory01")) {
libComC_gv_cCX_DebugProgress = true;
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:5893
}
libA3DDD02B_gf_PP_PrepareLoadingScreen(lp_map, true);
UISetAchievementToastStyle(PlayerGroupAll(), c_achievementToastStyleProtoss );
if ((libA3DDD02B_gv_pP_InStoryMode == true)) {
libA3DDD02B_gf_PC_AchievementAwardEarned();