# Player Ping Unit ControlPlayer

Grammar — Player Ping Unit/Snapshot ControlPlayer
FlagsNative | Function

Returns the controlling player of the unit/snapshot by a player.

Returns — int

native int EventPingUnitControlPlayer();

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