# Player Ping Unit

Grammar — Player Ping Unit
FlagsNative | Function

Returns the unit pinged by a player.

Returns — unit

native unit EventPingUnit();

# Supported triggers

Category: Ping / Basic

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/UILib.galaxy:16062

    }

    lv_targetUnit = EventPingUnit();
    if ((UnitTypeTestAttribute(UnitGetType(lv_targetUnit), c_unitAttributeHeroic) == true) && (libNtve_gf_UnitIsVisibleToPlayer(lv_targetUnit, lv_pingingPlayer) == false)) {
        return true;