# Set Ping Scale
Grammar — Set scale of ping to scale
Flags —Native
|Action
Sets the size of the ping.
# Arguments
int
[ ping ] — Pingfixed
— Scale
Returns — void
native void PingSetScale(int p, fixed scale);
# 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/liberty.sc2campaign
// L4305
PingSetScale(PingLastCreated(), 0.5)
// L1281
PingSetScale(PingLastCreated(), 0.85)
// L1289
PingSetScale(PingLastCreated(), 0.85)
// L1838
PingSetScale(PingLastCreated(), 0.75)
// L1015
PingSetScale(gv_nexusPing1, 0.8)
// L1021
PingSetScale(gv_nexusPing2, 0.8)
// L1027
PingSetScale(gv_nexusPing3, 0.8)
// L1174
PingSetScale(PingLastCreated(), 0.85)
// L2687
PingSetScale(gv_terrorFleetPing, 0.75)
// L3754
PingSetScale(PingLastCreated(), 0.75)
// L3795
PingSetScale(PingLastCreated(), 0.75)
// L3836
PingSetScale(PingLastCreated(), 0.75)
// L3877
PingSetScale(PingLastCreated(), 0.75)
// L1342
PingSetScale(PingLastCreated(), 0.75)
// L434
PingSetScale(PingLastCreated(), 0.75)
// L2672
PingSetScale(lv_trainPing, 0.7)
// L3373
PingSetScale(PingLastCreated(), 0.65)
// L3387
PingSetScale(PingLastCreated(), 0.65)
// L3429
PingSetScale(PingLastCreated(), 0.65)
// L3442
PingSetScale(PingLastCreated(), 0.65)
// L3484
PingSetScale(PingLastCreated(), 0.65)
// L3497
PingSetScale(PingLastCreated(), 0.65)
// L4785
PingSetScale(lv_topPing, 0.6)
// L4786
PingSetScale(lv_bottomPing, 0.6)
// L1446
PingSetScale(gv_battlecruiserPing1, 0.75)
// L1451
PingSetScale(gv_battlecruiserPing2, 0.75)
// L6363
PingSetScale(gv_pingSector2Base, 1.0)
// L6372
PingSetScale(gv_pingSector1Base, 1.0)
// L6381
PingSetScale(gv_pingSector3Base, 1.0)
// L6468
PingSetScale(gv_pingSector1Base, 1.0)
// L6475
PingSetScale(gv_pingSector2Base, 1.0)
// L6482
PingSetScale(gv_pingSector3Base, 1.0)
// L5888
PingSetScale(gv_brutaliskPing, 1.0)
// L3164
PingSetScale(PingLastCreated(), 0.75)
// L3206
PingSetScale(PingLastCreated(), 0.75)
// L3248
PingSetScale(PingLastCreated(), 0.75)
// L3290
PingSetScale(PingLastCreated(), 0.75)
// L3332
PingSetScale(PingLastCreated(), 0.75)
// L5435
PingSetScale(PingLastCreated(), 0.75)
// L1974
PingSetScale(gv_rebelMarinesPing1, 0.85)
// L2052
PingSetScale(gv_rebelMarinesPing2, 0.85)
// L2141
PingSetScale(gv_rebelMarinesPing3, 0.85)
// L2194
PingSetScale(PingLastCreated(), 0.8)
// L2566
PingSetScale(PingLastCreated(), 0.8)
// L1168
PingSetScale(PingLastCreated(), 0.75)
// L3657
PingSetScale(PingLastCreated(), 0.8)
// L3738
PingSetScale(PingLastCreated(), 0.8)
// L3817
PingSetScale(PingLastCreated(), 0.8)
// L388
PingSetScale(PingLastCreated(), 0.8)
// L2417
PingSetScale(PingLastCreated(), 0.75)
// L4294
PingSetScale(PingLastCreated(), 0.75)
// L4339
PingSetScale(PingLastCreated(), 0.75)
// L4384
PingSetScale(PingLastCreated(), 0.75)
// L5140
PingSetScale(gv_brutaliskPing, 0.8)
// L1075
PingSetScale(gv_wall_of_Fire_Ping[gv_ping_Increment], 0.75)
// L4415
PingSetScale(PingLastCreated(), 0.75)
// L5670
PingSetScale(PingLastCreated(), 0.75)
// L500
PingSetScale(PingLastCreated(), 0.7)
// L7919
PingSetScale(gv_pingNydus01, 0.8)
// L7920
PingSetScale(gv_pingNydus02, 0.8)
// L7921
PingSetScale(gv_pingNydus03, 0.8)
// L4671
PingSetScale(PingLastCreated(), 0.7)
// L8423
PingSetScale(PingLastCreated(), 0.75)
// L2944
PingSetScale(PingLastCreated(), 0.8)
// L2986
PingSetScale(lv_airPing, 0.6)
// L2991
PingSetScale(lv_airPingBehind, 0.6)
// L3103
PingSetScale(PingLastCreated(), 0.7)
// L3584
PingSetScale(gv_kerriganPing, 0.6)
// L3750
PingSetScale(gv_kerriganPing, 0.8)
// L4649
PingSetScale(PingLastCreated(), 0.8)
// L5953
PingSetScale(PingLastCreated(), 0.85)
// L1494
PingSetScale(gv_pingHybridBoss, 0.75)
// L5943
PingSetScale(gv_pingTwilightCouncil, 0.75)
// L5951
PingSetScale(gv_pingTemplarArchives, 0.75)
// L5959
PingSetScale(gv_pingDarkShrine, 0.75)
// L4305
PingSetScale(PingLastCreated(), 0.5)
// L1281
PingSetScale(PingLastCreated(), 0.85)
// L1289
PingSetScale(PingLastCreated(), 0.85)
// L1838
PingSetScale(PingLastCreated(), 0.75)
// L1015
PingSetScale(gv_nexusPing1, 0.8)
// L1021
PingSetScale(gv_nexusPing2, 0.8)
// L1027
PingSetScale(gv_nexusPing3, 0.8)
// L1174
PingSetScale(PingLastCreated(), 0.85)
// L2687
PingSetScale(gv_terrorFleetPing, 0.75)
// L3754
PingSetScale(PingLastCreated(), 0.75)
// L3795
PingSetScale(PingLastCreated(), 0.75)
// L3836
PingSetScale(PingLastCreated(), 0.75)
// L3877
PingSetScale(PingLastCreated(), 0.75)
// L1342
PingSetScale(PingLastCreated(), 0.75)
// L434
PingSetScale(PingLastCreated(), 0.75)
// L2672
PingSetScale(lv_trainPing, 0.7)
// L3373
PingSetScale(PingLastCreated(), 0.65)
// L3387
PingSetScale(PingLastCreated(), 0.65)
// L3429
PingSetScale(PingLastCreated(), 0.65)
// L3442
PingSetScale(PingLastCreated(), 0.65)
// L3484
PingSetScale(PingLastCreated(), 0.65)
// L3497
PingSetScale(PingLastCreated(), 0.65)
// L4785
PingSetScale(lv_topPing, 0.6)
// L4786
PingSetScale(lv_bottomPing, 0.6)
// L1446
PingSetScale(gv_battlecruiserPing1, 0.75)