# Set Ping Color

Grammar — Set ping color to color
FlagsNative | Action

Sets the ping color.

# Arguments

  • int [ ping ] — Ping
  • color — Color

Returns — void

native void PingSetColor(int p, color intColor);

Category: Ping / Advanced

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L1305
PingSetColor(gv_odinPing, Color(100.00, 0.00, 0.00))
// L1310
PingSetColor(gv_odinPing, Color(0.00, 100.00, 0.00))
// L10595
PingSetColor(gv_pingFusionCore, Color(0.00, 100.00, 0.00))
// L1305
PingSetColor(gv_odinPing, Color(100.00, 0.00, 0.00))
// L1310
PingSetColor(gv_odinPing, Color(0.00, 100.00, 0.00))
// L10595
PingSetColor(gv_pingFusionCore, Color(0.00, 100.00, 0.00))
// L634
PingSetColor(lv_podPing, Color(100.00, 100.00, 0.00))
// L1516
PingSetColor(PingLastCreated(), Color(70.59, 47.06, 100.00))
// L1583
PingSetColor(gv_nullZonePing, Color(0.00, 100.00, 0.00))
// L1584
PingSetColor(gv_narudPing, Color(0.00, 100.00, 0.00))
// L1599
PingSetColor(gv_nullZoneArrowPings[lv_index], Color(0.00, 100.00, 0.00))
// L1611
PingSetColor(gv_nullZonePing, Color(100.00, 0.00, 0.00))
// L1612
PingSetColor(gv_narudPing, Color(100.00, 0.00, 0.00))
// L1627
PingSetColor(gv_nullZoneArrowPings[lv_index], Color(100.00, 0.00, 0.00))
// L1638
PingSetColor(gv_nullZonePing, Color(75.29, 75.29, 75.29))
// L1639
PingSetColor(gv_narudPing, Color(75.29, 75.29, 75.29))
// L1640
PingSetColor(gv_nullZoneArrowPings[1], Color(75.29, 75.29, 75.29))
// L2841
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L2847
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L8654
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L9131
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L4369
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L4225
PingSetColor(PingLastCreated(), Color(0.00, 100.00, 0.00))
// L634
PingSetColor(lv_podPing, Color(100.00, 100.00, 0.00))
// L1516
PingSetColor(PingLastCreated(), Color(70.59, 47.06, 100.00))
// L1583
PingSetColor(gv_nullZonePing, Color(0.00, 100.00, 0.00))
// L1584
PingSetColor(gv_narudPing, Color(0.00, 100.00, 0.00))
// L1599
PingSetColor(gv_nullZoneArrowPings[lv_index], Color(0.00, 100.00, 0.00))
// L1611
PingSetColor(gv_nullZonePing, Color(100.00, 0.00, 0.00))
// L1612
PingSetColor(gv_narudPing, Color(100.00, 0.00, 0.00))
// L1627
PingSetColor(gv_nullZoneArrowPings[lv_index], Color(100.00, 0.00, 0.00))
// L1638
PingSetColor(gv_nullZonePing, Color(75.29, 75.29, 75.29))
// L1639
PingSetColor(gv_narudPing, Color(75.29, 75.29, 75.29))
// L1640
PingSetColor(gv_nullZoneArrowPings[1], Color(75.29, 75.29, 75.29))
// L2841
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L2847
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L8654
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L9131
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L4369
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L4225
PingSetColor(PingLastCreated(), Color(0.00, 100.00, 0.00))

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L11984
PingSetColor(libSwaC_gv_zS_KerriganPing, Color(70.59, 47.06, 100.00))

# campaigns/void.sc2campaign

MapScript.galaxy

// L501
PingSetColor(PingLastCreated(), Color(0.00, 0.00, 50.20))
// L1741
PingSetColor(gv_tugOfWar_Ping, Color(100.00, 100.00, 100.00))
// L1757
PingSetColor(gv_tugOfWar_Ping, Color(100.00, 0.00, 0.00))
// L1772
PingSetColor(gv_tugOfWar_Ping, Color(0.00, 100.00, 0.00))
// L356
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(100.00, 100.00, 100.00))
// L371
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(0.00, 100.00, 0.00))
// L385
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(100.00, 0.00, 0.00))
// L1136
PingSetColor(gv_celestialLocks[lv_index].lv_objectivePing, Color(100.00, 0.00, 0.00))
// L662
PingSetColor(PingLastCreated(), Color(100.00, 50.20, 0.00))
// L2863
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L2924
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L501
PingSetColor(PingLastCreated(), Color(0.00, 0.00, 50.20))
// L1741
PingSetColor(gv_tugOfWar_Ping, Color(100.00, 100.00, 100.00))
// L1757
PingSetColor(gv_tugOfWar_Ping, Color(100.00, 0.00, 0.00))
// L1772
PingSetColor(gv_tugOfWar_Ping, Color(0.00, 100.00, 0.00))
// L356
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(100.00, 100.00, 100.00))
// L371
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(0.00, 100.00, 0.00))
// L385
PingSetColor(gv_celestialLocks[lp_index].lv_objectivePing, Color(100.00, 0.00, 0.00))
// L1136
PingSetColor(gv_celestialLocks[lv_index].lv_objectivePing, Color(100.00, 0.00, 0.00))
// L662
PingSetColor(PingLastCreated(), Color(100.00, 50.20, 0.00))
// L2863
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L2924
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))

# mods/heroesbrawlmods/arenamodemods/gardenarena.stormmod

LibAMGT.galaxy

// L502
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L507
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L709
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))
// L714
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))

# mods/heroesbrawlmods/arenamodemods/punisherarena.stormmod

LibAMPU.galaxy

// L1162
PingSetColor(PingLastCreated(), Color(100.00, 100.00, 0.00))

# mods/heroesbrawlmods/brawlmapmods/coop/deadmansstand.stormmod

LibPEB1.galaxy

// L2590
PingSetColor(libPEB1_gv_archangelAreas[lp_areaIndex].lv_archangelPing, libCore_gv_cOLOREnemyColor)

# mods/heroesdata.stormmod

HeroesLib.galaxy

// L3016
PingSetColor(PingLastCreated(), lp_color)
// L3030
PingSetColor(PingLastCreated(), lp_color)

# mods/heroesmapmods/battlegroundmapmods/battlefieldofeternity.stormmod

LibMLBD.galaxy

// L1137
PingSetColor(lv_flyPathingTargetPing[0], libCore_gv_cOLORAllyColor)
// L1138
PingSetColor(lv_flyPathingTargetPing[1], Color(0.00, 100.00, 0.00))
// L1139
PingSetColor(lv_flyPathingTargetPing[2], libCore_gv_cOLOREnemyColor)
// L1142
PingSetColor(lv_flyPathingTargetPing[0], libCore_gv_cOLOREnemyColor)
// L1143
PingSetColor(lv_flyPathingTargetPing[1], libCore_gv_cOLOREnemyColor)
// L1144
PingSetColor(lv_flyPathingTargetPing[2], Color(0.00, 100.00, 0.00))

# mods/heroesmapmods/battlegroundmapmods/skytemple.stormmod

LibMLCP.galaxy

// L1747
PingSetColor(PingLastCreated(), Color(0.00, 100.00, 0.00))
// L1750
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L1763
PingSetColor(PingLastCreated(), Color(0.00, 100.00, 0.00))
// L1766
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L1695
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L2238
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L1695
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))
// L2238
PingSetColor(PingLastCreated(), Color(100.00, 0.00, 0.00))