# Ability Count For Player
Grammar — abilType count for player player, counting countType
Flags —Native|Function
Returns the count of the specified ability that the specified player’s unit have.
# Arguments
int— Playerstring<gamelink::Abil> — Abilityint<preset::TechTreeCountType> — Count Type
Returns — int
native int TechTreeAbilityCount(
int player,
string abilType,
int countType,
);
# Related
Category: Tech Tree / Counts
- Behavior Count For Player —
int— TechTreeBehaviorCount - Ability Count For Player —
int— TechTreeAbilityCount - Unit Count For Player —
int— TechTreeUnitCount - Unit Alias Count For Player —
int— TechTreeUnitAliasCount - Upgrade Count For Player —
int— TechTreeUpgradeCount - Tech Tree Behavior Count For Unit —
int— UnitTechTreeBehaviorCount - Tech Tree Unit Count For Unit —
int— UnitTechTreeUnitCount - Tech Tree Upgrade Count For Unit —
int— UnitTechTreeUpgradeCount
# Examples
— None found —