# Set Ping Model
Grammar — Set ping to use model model
Flags —Native
|Action
Sets the model of the ping.
# Arguments
int
[ ping ] — Pingstring
[ gamelink::Model ] — Model
Returns — void
native void PingSetModel(int p, string modelLink);
# Related
Category: Ping / Advanced
- [F] —
void
— Move Ping — ( PingSetPosition ) - [F] —
void
— Make Ping Face Angle — ( PingSetRotation ) - [F] —
void
— Attach Ping To Unit — ( PingSetUnit ) - [F] —
point
— Position Of Ping — ( PingGetPosition ) - [F] —
fixed
— Facing Angle Of Ping — ( PingGetRotation ) - [F] —
unit
— Ping Unit — ( PingGetUnit ) - [F] —
void
— Set Ping Scale — ( PingSetScale ) - [F] —
void
— Set Ping Depth — ( PingSetDepth ) - [F] —
void
— Set Ping Tooltip — ( PingSetTooltip ) - [F] —
void
— Set Ping Color — ( PingSetColor ) - [F] —
void
— Set Ping Duration — ( PingSetDuration ) - [F] —
void
— Set Ping Model — ( PingSetModel ) - [F] —
void
— Set Ping Players — ( PingSetPlayerGroup ) - [F] —
void
— Set Ping Use Unit Team Color — ( PingSetUseUnitTeamColor ) - [F] —
void
— Set Ping Use Unit Visibility — ( PingSetUseUnitVisibility ) - [F] —
void
— Set Ping Observer Display — ( PingSetObserver ) - [F] —
void
— Set Ping Use Player Vision — ( PingSetUsePlayerVision ) - [F] —
void
— Destroy Ping — ( PingDestroy ) - [F] —
void
— Destroy All Pings — ( PingDestroyAll ) - [F] —
fixed
— Ping Scale — ( PingGetScale ) - [F] —
fixed
— Ping Depth — ( PingGetDepth ) - [F] —
text
— Ping Tooltip — ( PingGetTooltip ) - [F] —
color
— Color Of Ping — ( PingGetColor ) - [F] —
fixed
— Duration of Ping — ( PingGetDuration ) - [F] —
playergroup
— Ping Players — ( PingGetPlayerGroup )
# Examples
# campaigns/void.sc2campaign
// 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
// L1454
PingSetModel(PingLastCreated(), "StormPingCoreAttack")
# mods/novastoryassets.sc2mod
// 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")