# AIPlacementNearbyFindTest

FlagsNative

# Arguments

  • int — player
  • point — loc
  • fixed — range
  • string — unitType

Returns — point

native point AIPlacementNearbyFindTest(
	int player,
	point loc,
	fixed range,
	string unitType,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.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.sc2modbase.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:819

    }
    
    castPoint = AIPlacementNearbyFindTest(player, UnitGetPosition(target), 5.0, c_ZU_InfestedTerranEgg);
    if (castPoint == c_nullPoint) {
        return null;