# Remove All Bullies

Grammar — Removes all bullies for player player.
FlagsNative | Action

Removes the bully flag from all units owned by a player.

# Arguments

  • int — Player

Returns — void

native void AIClearAllBullies(int player);

Category: AI / Bullies / Actions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4214

    AICampaignStart(gv_pLAYER_P07_ZERG_EXP);
    AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
    AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2mapMapScript.galaxy:4214

    AICampaignStart(gv_pLAYER_P07_ZERG_EXP);
    AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
    AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));