# AISetFilterLifePercent

FlagsNative

# Arguments

  • aifilter — filter
  • fixed — min
  • fixed — max

Returns — void

native void AISetFilterLifePercent(
	aifilter filter,
	fixed min,
	fixed max,
);

Category: Unclassified

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1053

    filter = AIFilter(player);
    AISetFilterBits(filter, UnitFilterStr("-;Heroic,Structure,Missile,Stasis,Item,Dead,Hidden,Invulnerable"));
	AISetFilterLifePercent(filter, c_noMin, c_noMax);	

    //  Check for air allies.