# AIIsFollowingUnit
Flags —
Native
# Arguments
unit
— aiUnitstring
— unitType
Returns — bool
native bool AIIsFollowingUnit(
unit aiUnit,
string unitType,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1223
unitgroup enemyGroup;
if (AIIsFollowingUnit(aiUnit, followUnit)) {
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1418
unitgroup enemyGroup;
if (AIIsFollowingUnit(aiUnit, followUnit)) {
return;
}