# Set Ping Players
Grammar — Set ping players to players
Flags —Native
|Action
Sets which player groups get to see the ping.
# Arguments
int
<ping> — Pingplayergroup
— Players
Returns — void
native void PingSetPlayerGroup(
int p,
playergroup playerMask,
);
# Related
Category: Ping / Advanced
- Move Ping —
void
— PingSetPosition - Make Ping Face Angle —
void
— PingSetRotation - Attach Ping To Unit —
void
— PingSetUnit - Position Of Ping —
point
— PingGetPosition - Facing Angle Of Ping —
fixed
— PingGetRotation - Ping Unit —
unit
— PingGetUnit - Set Ping Scale —
void
— PingSetScale - Set Ping Depth —
void
— PingSetDepth - Set Ping Tooltip —
void
— PingSetTooltip - Set Ping Color —
void
— PingSetColor - Set Ping Duration —
void
— PingSetDuration - Set Ping Model —
void
— PingSetModel - Set Ping Players —
void
— PingSetPlayerGroup - Set Ping Use Unit Team Color —
void
— PingSetUseUnitTeamColor - Set Ping Use Unit Visibility —
void
— PingSetUseUnitVisibility - Set Ping Observer Display —
void
— PingSetObserver - Set Ping Use Player Vision —
void
— PingSetUsePlayerVision - Destroy Ping —
void
— PingDestroy - Destroy All Pings —
void
— PingDestroyAll - Ping Scale —
fixed
— PingGetScale - Ping Depth —
fixed
— PingGetDepth - Ping Tooltip —
text
— PingGetTooltip - Color Of Ping —
color
— PingGetColor - Duration of Ping —
fixed
— PingGetDuration - Ping Players —
playergroup
— PingGetPlayerGroup
# Examples
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:1536
lv_itGate = UnitGroupUnitFromEnd(auto5483D290_g, auto5483D290_u);
if (lv_itGate == null) { break; }
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(lv_itGate, 1), lv_pingPlayers);
}
Wait(1.0, c_timeGame);
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:2128
}
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 1), lv_pingPlayers);
}
mods/heroesmapmods/battlegroundmapmods/hauntedmines.stormmod — base.stormdata/LibMHtM.galaxy:2143
}
PingSetPlayerGroup(libCore_gf_PingStoredForUnit(libMHtM_gv_mMUnderworldSummonedBoss[lv_itTeam], 2), lv_pingPlayers);
}