# Player Ping Unit Is Under Construction

Grammar — Player ping unit is under construction
FlagsNative | Function

Returns whether or not the unit or snapshot pinged in a Player Ping event is under construction.

Returns — bool

native bool EventPingUnitIsUnderConstruction();

Category: Ping / Basic

# Examples

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

    PlayerGroupAdd(lv_pingPlayers, lp_player);
    if ((libNtve_gf_PlayerIsEnemy(lp_player, lp_pingTargetOwner, libNtve_ge_PlayerRelation_Enemy) == true)) {
        if ((EventPingUnitIsUnderConstruction() == true) && (VisIsVisibleForPlayer(lp_player, lp_pingTargetPosition) == false)) {
            TextExpressionSetToken("Param/Expression/lib_Lbty_408B1BB0", "ID", IntToText(lp_player));
            TextExpressionSetToken("Param/Expression/lib_Lbty_408B1BB0", "PLAYER", GameUserName(lp_gameUser));