# Player Ping Location

Grammar — Player Ping Location
FlagsNative | Function

Returns the location pinged by a player.

Returns — point

native point EventPingPoint();

# Supported triggers

Category: Ping / Basic

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18014

    lv_dummyEffect = libGame_gf_GetWheelEffectFromIndex(lv_pingIndex);
    lv_order = Order(lv_cmd);
    lv_point = EventPingPoint();
    if ((lv_mapID == "")) {
        lv_mapID = "None";

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

    }
    else {
        libNtve_gf_CreatePingFacingAngleWithType(lp_pingPlayerGroup, lv_pingModel, EventPingPoint(), Color(100.00, 100.00, 100.00), 3.0, 270.0, -1, lp_pingingPlayer);
        SoundPlayForPlayer(lv_pingSound, lp_pingingPlayer, lp_pingPlayerGroup, 100.0, 0.0);
    }

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

    lv_pingPlayerGroup = PlayerGroupMath(libGame_gv_teams[libGame_gf_TeamNumberOfPlayer(lv_pingingPlayer)].lv_teamPlayerGroup, PlayerGroupMuting(libNtve_ge_MuteType_Pings, lv_pingingPlayer, true), libNtve_ge_PlayerGroupOperation_Subtract);
    if ((UnitIsValid(lv_targetUnit) == false)) {
        lv_targetUnit = libUIUI_gf_PingGetSpecialPingTargetInRangeOfPoint(EventPingPoint(), EventPingedMinimap(), lv_pingingPlayer);
    }

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

    autoFCAAB407_val = lv_pingType;
    if (autoFCAAB407_val == c_pingTypeAssistMe) {
        libUIUI_gf_PingPlayerUsesAssistMePing(lv_pingingPlayer, lv_targetUnit, EventPingPoint());
    }
    else if (autoFCAAB407_val == c_pingTypeDanger) {

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

    }
    else if (autoFCAAB407_val == c_pingTypeDanger) {
        libUIUI_gf_PingPlayerUsesDangerPing(lv_pingingPlayer, EventPingPoint(), lv_targetUnit);
    }
    else if (autoFCAAB407_val == c_pingTypeOnMyWay) {

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

    }
    else if (autoFCAAB407_val == c_pingTypeOnMyWay) {
        libUIUI_gf_PingPlayerUsesOnMyWayPing(lv_targetUnit, lv_pingingPlayer, EventPingPoint());
    }
    else if (autoFCAAB407_val == c_pingTypeDefend) {

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

    }
    else if (autoFCAAB407_val == c_pingTypeDefend) {
        libUIUI_gf_PingPlayerUsesDefendPing(lv_targetUnit, lv_pingingPlayer, EventPingPoint());
    }
    else if (autoFCAAB407_val == c_pingTypeRetreat) {

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

    }
    else if (autoFCAAB407_val == c_pingTypeRetreat) {
        libUIUI_gf_PingPlayerUsesRetreatPing(lv_pingingPlayer, EventPingPoint());
    }
    else if (autoFCAAB407_val == c_pingTypeNormal) {

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

        }
        else {
            libNtve_gf_CreatePingFacingAngleWithType(lv_pingPlayerGroup, lv_pingModel, EventPingPoint(), Color(100.00, 100.00, 100.00), 3.0, 270.0, -1, lv_pingingPlayer);
            SoundPlayForPlayer(lv_pingSound, lv_pingingPlayer, lv_pingPlayerGroup, 100.0, 0.0);
        }

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());
    }