# AISetFilterLifePercent
Flags —
Native
# Arguments
aifilter
— filterfixed
— minfixed
— max
Returns — void
native void AISetFilterLifePercent(
aifilter filter,
fixed min,
fixed max,
);
# Related
Category: Unclassified
# Examples
mods/starcoop/starcoop.sc2mod — base.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.