# Player Ping Unit Type

Grammar — Player Ping Unit/Snapshot Type
FlagsNative | Function

Returns the unit type of the unit/snapshot pinged by a player.

Returns — string<gamelink::Unit>

native string EventPingUnitType();

# Supported triggers

Category: Ping / Basic

# Examples

mods/liberty.sc2modbase.sc2data/TriggerLibs/LibertyLib.galaxy:688

    lv_pingType = (EventPingOption());
    if ((lv_pingType != 4)) {
        libLbty_gf_PingPlay(lv_pingType, EventPlayer(), EventPingPoint(), EventGameUser(), EventPingUnitType(), EventPingUnitPosition(), EventPingUnitControlPlayer());
    }