# AIPathDistToNearestFriendlyStructure

FlagsNative

# Arguments

  • int — player
  • point — loc
  • bool — onlyDropoffs

Returns — int

native int AIPathDistToNearestFriendlyStructure(
	int player,
	point loc,
	bool onlyDropoffs,
);

Category: Unclassified

# Examples

# mods/core.sc2mod

MeleeWaveAI.galaxy

// L533
AIPathDistToNearestFriendlyStructure(player, leaderPos, true)
// L623
AIPathDistToNearestFriendlyStructure(player, leaderPos, true)