# AITrackUnitDanger

FlagsNative

# Arguments

  • unit — inUnit

Returns — void

native void AITrackUnitDanger(unit inUnit);

Category: Unclassified

# Examples

mods/heroesbrawlmods/brawlmapmods/blackheartsrevenge.stormmodbase.stormdata/LibMDoE.galaxy:2089

        lv_tower = UnitGroupUnitFromEnd(autoFE45C5E0_g, autoFE45C5E0_u);
        if (lv_tower == null) { break; }
        AITrackUnitDanger(lv_tower);
    }
    return true;

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/AILib.galaxy:1387

    // Automatic Variable Declarations
    // Implementation
    AITrackUnitDanger(lp_unit);
}

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameDataHelperLib.galaxy:19412


    UnitGroupAdd(libGame_gv_players[lv_rexxarPlayer].lv_heroUnitGroup, lv_misha);
    AITrackUnitDanger(lv_misha);
    libGDHL_gf_RexxarUISetup(lv_rexxarPlayer, lv_misha);
    libUIUI_gf_UIUnitStatusFramesUpdateUnitStatusFramesForUnit(lv_rexxarPlayer, lv_misha);