# Show/Hide Ping

Grammarvisible|Show/Hide ping|Ping
FlagsNative | Action

Shows or hides a minimap ping.

# Arguments

Returns — void

native void PingSetVisible(int p, bool isVisible);

Category: Ping / Basic

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L398
PingSetVisible(gv_buildingPing01, true)
// L399
PingSetVisible(gv_buildingPing02, true)
// L400
PingSetVisible(gv_buildingPing03, true)
// L401
PingSetVisible(gv_enemyPing01, true)
// L402
PingSetVisible(gv_enemyPing02, true)
// L403
PingSetVisible(gv_enemyPing03, true)
// L620
PingSetVisible(gv_buildingPing01, false)
// L621
PingSetVisible(gv_buildingPing02, false)
// L622
PingSetVisible(gv_buildingPing03, false)
// L623
PingSetVisible(gv_enemyPing01, false)
// L362
PingSetVisible(gv_buildingPing01, true)
// L363
PingSetVisible(gv_buildingPing02, true)
// L364
PingSetVisible(gv_buildingPing03, true)
// L365
PingSetVisible(gv_enemyPing01, true)
// L366
PingSetVisible(gv_enemyPing02, true)
// L367
PingSetVisible(gv_enemyPing03, true)
// L564
PingSetVisible(gv_buildingPing01, false)
// L565
PingSetVisible(gv_buildingPing02, false)
// L566
PingSetVisible(gv_buildingPing03, false)
// L567
PingSetVisible(gv_enemyPing01, false)
// L408
PingSetVisible(gv_buildingPing01, true)
// L409
PingSetVisible(gv_buildingPing02, true)
// L410
PingSetVisible(gv_buildingPing03, true)
// L411
PingSetVisible(gv_enemyPing01, true)
// L412
PingSetVisible(gv_enemyPing02, true)
// L413
PingSetVisible(gv_enemyPing03, true)
// L624
PingSetVisible(gv_buildingPing01, false)
// L625
PingSetVisible(gv_buildingPing02, false)
// L626
PingSetVisible(gv_buildingPing03, false)
// L627
PingSetVisible(gv_enemyPing01, false)
// L1343
PingSetVisible(PingLastCreated(), false)
// L1687
PingSetVisible(gv_infestationPings[lv_colonyIndex], false)
// L1738
PingSetVisible(gv_infestationPings[lv_colonyIndex], false)
// L3814
PingSetVisible(gv_infestationPings[lv_initialInfestation], true)
// L4783
PingSetVisible(lv_topPing, false)
// L4784
PingSetVisible(lv_bottomPing, false)
// L4795
PingSetVisible(lv_topPing, false)
// L4799
PingSetVisible(lv_topPing, true)
// L4813
PingSetVisible(lv_bottomPing, false)
// L4817
PingSetVisible(lv_bottomPing, true)
// L4836
PingSetVisible(lv_singlePing, false)
// L4845
PingSetVisible(lv_singlePing, false)
// L4849
PingSetVisible(lv_singlePing, true)
// L2987
PingSetVisible(lv_airPing, false)
// L2992
PingSetVisible(lv_airPingBehind, false)
// L3006
PingSetVisible(lv_airPing, false)
// L3009
PingSetVisible(lv_airPing, true)
// L3013
PingSetVisible(lv_airPingBehind, false)
// L3016
PingSetVisible(lv_airPingBehind, true)
// L3414
PingSetVisible(gv_kerriganPing, false)
// L3583
PingSetVisible(gv_kerriganPing, true)
// L3751
PingSetVisible(gv_kerriganPing, false)
// L1343
PingSetVisible(PingLastCreated(), false)
// L1687
PingSetVisible(gv_infestationPings[lv_colonyIndex], false)
// L1738
PingSetVisible(gv_infestationPings[lv_colonyIndex], false)
// L3814
PingSetVisible(gv_infestationPings[lv_initialInfestation], true)
// L4783
PingSetVisible(lv_topPing, false)
// L4784
PingSetVisible(lv_bottomPing, false)
// L4795
PingSetVisible(lv_topPing, false)
// L4799
PingSetVisible(lv_topPing, true)
// L4813
PingSetVisible(lv_bottomPing, false)
// L4817
PingSetVisible(lv_bottomPing, true)
// L4836
PingSetVisible(lv_singlePing, false)
// L4845
PingSetVisible(lv_singlePing, false)
// L4849
PingSetVisible(lv_singlePing, true)
// L2987
PingSetVisible(lv_airPing, false)
// L2992
PingSetVisible(lv_airPingBehind, false)
// L3006
PingSetVisible(lv_airPing, false)
// L3009
PingSetVisible(lv_airPing, true)
// L3013
PingSetVisible(lv_airPingBehind, false)
// L3016
PingSetVisible(lv_airPingBehind, true)
// L3414
PingSetVisible(gv_kerriganPing, false)
// L3583
PingSetVisible(gv_kerriganPing, true)
// L3751
PingSetVisible(gv_kerriganPing, false)
// L398
PingSetVisible(gv_buildingPing01, true)
// L399
PingSetVisible(gv_buildingPing02, true)
// L400
PingSetVisible(gv_buildingPing03, true)
// L401
PingSetVisible(gv_enemyPing01, true)
// L402
PingSetVisible(gv_enemyPing02, true)
// L403
PingSetVisible(gv_enemyPing03, true)
// L620
PingSetVisible(gv_buildingPing01, false)
// L621
PingSetVisible(gv_buildingPing02, false)
// L622
PingSetVisible(gv_buildingPing03, false)
// L623
PingSetVisible(gv_enemyPing01, false)
// L362
PingSetVisible(gv_buildingPing01, true)
// L363
PingSetVisible(gv_buildingPing02, true)
// L364
PingSetVisible(gv_buildingPing03, true)
// L365
PingSetVisible(gv_enemyPing01, true)
// L366
PingSetVisible(gv_enemyPing02, true)
// L367
PingSetVisible(gv_enemyPing03, true)
// L564
PingSetVisible(gv_buildingPing01, false)
// L565
PingSetVisible(gv_buildingPing02, false)
// L566
PingSetVisible(gv_buildingPing03, false)
// L567
PingSetVisible(gv_enemyPing01, false)
// L408
PingSetVisible(gv_buildingPing01, true)
// L409
PingSetVisible(gv_buildingPing02, true)
// L410
PingSetVisible(gv_buildingPing03, true)
// L411
PingSetVisible(gv_enemyPing01, true)
// L412
PingSetVisible(gv_enemyPing02, true)
// L413
PingSetVisible(gv_enemyPing03, true)