# AIPlacementNearbyFindTest
Flags —
Native
# Arguments
int
— playerpoint
— locfixed
— rangestring
— unitType
Returns — point
native point AIPlacementNearbyFindTest(
int player,
point loc,
fixed range,
string unitType,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:608
}
castPoint = AIPlacementNearbyFindTest(player, UnitGetPosition(target), 5.0, c_ZU_InfestedTerranEgg);
if (castPoint == c_nullPoint) {
return null;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:819
}
castPoint = AIPlacementNearbyFindTest(player, UnitGetPosition(target), 5.0, c_ZU_InfestedTerranEgg);
if (castPoint == c_nullPoint) {
return null;