# Clear All Tip Alerts
Grammar — Clears all current tip alerts for players
Flags —Native
|Action
Clears all currently displayed tip alerts. Does not remove the tips themselves, which can still be viewed in the help panel.
# Arguments
playergroup
— Players
Returns — void
native void TipAlertPanelClear(playergroup inPlayerGroup);
# Related
Category: UI / Help Panel
- Help Item — preset —
int
- Destroy HelpItem —
void
— HelpPanelDestroyHelpItem - Last Created HelpItem —
int
<preset::HelpItem> — HelpPanelLastCreatedHelpItem - Display Help Page —
void
— HelpPanelDisplayPage - Create Tip —
void
— HelpPanelAddTip - Destroy All Tips —
void
— HelpPanelDestroyAllTips - Destroy All Tutorials —
void
— HelpPanelDestroyAllTutorials - Format Tip Title —
text
— libNtve_gf_FormatTipTitle - Clear All Tip Alerts —
void
— TipAlertPanelClear - Create Cheat —
void
— HelpPanelAddHint - Create Tutorial —
void
— HelpPanelAddTutorial - Create Message Log Entry —
void
— HelpPanelAddMessage - Enable/Disable Help Panel Tech Tree Button —
void
— HelpPanelEnableTechTreeButton - Enable/Disable Help Panel Tech Glossary Button —
void
— HelpPanelEnableTechGlossaryButton - Show/Hide Help Panel Tech Tree Race —
void
— HelpPanelShowTechTreeRace - Show/Hide Help For Unit —
void
— TechTreeUnitHelp - Set Help Panel Default Visibility —
void
— TechTreeUnitHelpDefault - Set Help Item Darkened When Viewed —
void
— HelpPanelSetHelpItemDarkenedWhenViewed
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1144
libNtve_gf_SetAlliance(gv_p01_USER, gv_p03_SIMULATOR, 8);
libNtve_gf_SetAlliance(gv_p03_SIMULATOR, gv_p01_USER, 8);
TipAlertPanelClear(PlayerGroupAll());
UIAlertClear(gv_p01_USER);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1951
gf_SetTutorialCompleted(0, true, true);
gf_SilenceQ();
TipAlertPanelClear(PlayerGroupAll());
TriggerExecute(gt_ObjectiveUserInterfaceCreateQ, true, false);
ObjectiveSetState(gv_objectiveUserInterface, c_objectiveStateCompleted);
campaigns/liberty.sc2campaign — base.sc2maps/maps/challenges/rushdefense.sc2map/MapScript.galaxy:1876
UIAlertClear(gv_pLAYER_USER);
TipAlertPanelClear(PlayerGroupAll());
Wait(2.0, c_timeGame);
TriggerExecute(gt_HintDestroyingtheGatewaysQ, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1144
libNtve_gf_SetAlliance(gv_p01_USER, gv_p03_SIMULATOR, 8);
libNtve_gf_SetAlliance(gv_p03_SIMULATOR, gv_p01_USER, 8);
TipAlertPanelClear(PlayerGroupAll());
UIAlertClear(gv_p01_USER);
UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttutorial01.sc2map — MapScript.galaxy:1951
gf_SetTutorialCompleted(0, true, true);
gf_SilenceQ();
TipAlertPanelClear(PlayerGroupAll());
TriggerExecute(gt_ObjectiveUserInterfaceCreateQ, true, false);
ObjectiveSetState(gv_objectiveUserInterface, c_objectiveStateCompleted);
campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/rushdefense.sc2map — MapScript.galaxy:1876
UIAlertClear(gv_pLAYER_USER);
TipAlertPanelClear(PlayerGroupAll());
Wait(2.0, c_timeGame);
TriggerExecute(gt_HintDestroyingtheGatewaysQ, true, false);
mods/warcoop/warmeleeai.sc2mod — base.sc2data/LibW3AI.galaxy:108
HelpPanelSetHelpItemDarkenedWhenViewed(HelpPanelLastCreatedHelpItem(), false);
}
TipAlertPanelClear(PlayerGroupAll());
}
mods/warcoop/warmeleeai.sc2mod — base.sc2data/LibW3AI.galaxy:134
HelpPanelSetHelpItemDarkenedWhenViewed(HelpPanelLastCreatedHelpItem(), false);
}
TipAlertPanelClear(PlayerGroupAll());
}