# Show/Hide Alert Type

GrammarshowHide alert for playerGroup
FlagsNative | Action

# Arguments

  • playergroup — Player Group
  • string [ gamelink::Alert ] — Alert
  • bool [ preset::ShowHideOption ] — Show/Hide

Returns — void

native void UISetAlertTypeVisible(
	playergroup inPlayers,
	string inAlert,
	bool inVisible,
);

Category: UI / Alerts

# Examples

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L946
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L947
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L6689
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L6845
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L6492
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L6493
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L12608
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L12609
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L1309
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1310
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1311
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Terr", false)
// L1312
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L1846
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L4182
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L4785
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L6109
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L6560
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L7972
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L8311
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L8447
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L6689
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L6845
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L6492
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L6493
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L12608
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L12609
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L1309
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1310
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1311
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Terr", false)
// L1312
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L1846
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L4182
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L4785
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L6109
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L6560
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L7972
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L8311
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", true)
// L8447
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnit_Zerg", false)
// L946
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L947
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1445
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1446
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L859
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L860
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1105
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly", false)
// L1106
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Prot", false)
// L1107
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Terr", false)
// L1108
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Zerg", false)
// L1109
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly", false)
// L1110
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Prot", false)
// L1111
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Terr", false)
// L1112
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Zerg", false)
// L1189
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1190
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1632
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1633
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1645
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", true)
// L1646
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", true)
// L1687
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1688
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1423
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1424
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1429
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1430
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1431
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L1432
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1089
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1090
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L7387
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L7388
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1952
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1953
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L1954
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Zerg", false)
// L1955
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1956
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Terr", false)
// L1957
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L1856
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly", false)
// L1857
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1858
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Terr", false)
// L1859
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Zerg", false)
// L1860
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1861
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1862
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Terr", false)
// L1863
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Zerg", false)
// L859
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L860
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1445
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1446
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1105
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly", false)
// L1106
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Prot", false)
// L1107
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Terr", false)
// L1108
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackTownAlly_Zerg", false)
// L1109
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly", false)
// L1110
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Prot", false)
// L1111
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Terr", false)
// L1112
UISetAlertTypeVisible(PlayerGroupSingle(gv_pLAYER_01_USER), "AttackUnitAlly_Zerg", false)
// L1189
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly", false)
// L1190
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)
// L1632
UISetAlertTypeVisible(PlayerGroupAll(), "AttackTownAlly_Prot", false)
// L1633
UISetAlertTypeVisible(PlayerGroupAll(), "AttackUnitAlly_Prot", false)