# Set Ping Model

Grammar — Set ping to use model model
FlagsNative | Action

Sets the model of the ping.

# Arguments

  • int [ ping ] — Ping
  • string [ gamelink::Model ] — Model

Returns — void

native void PingSetModel(int p, string modelLink);

Category: Ping / Advanced

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L1740
PingSetModel(gv_tugOfWar_Ping, "PingCircleImportant")
// L1756
PingSetModel(gv_tugOfWar_Ping, "PingArrow")
// L1771
PingSetModel(gv_tugOfWar_Ping, "PingArrow")
// L1740
PingSetModel(gv_tugOfWar_Ping, "PingCircleImportant")
// L1756
PingSetModel(gv_tugOfWar_Ping, "PingArrow")
// L1771
PingSetModel(gv_tugOfWar_Ping, "PingArrow")

# mods/heroesdata.stormmod

GameLib.galaxy

// L1454
PingSetModel(PingLastCreated(), "StormPingCoreAttack")

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L2898
PingSetModel(gv_subwayPings[3], "BeaconScoutPing")
// L2917
PingSetModel(gv_subwayPings[2], "BeaconScoutPing")
// L2936
PingSetModel(gv_subwayPings[4], "BeaconScoutPing")
// L2898
PingSetModel(gv_subwayPings[3], "BeaconScoutPing")
// L2917
PingSetModel(gv_subwayPings[2], "BeaconScoutPing")
// L2936
PingSetModel(gv_subwayPings[4], "BeaconScoutPing")