# Find Placement From Unit For Unit Type With Tests

Grammar — Find Placement From source Unit For Unit Type unitType And Player player With Range range And Tests tests
FlagsNative | Function

# Arguments

  • string [ gamelink::Unit ] — Unit Type
  • int — Player
  • unit — Source
  • fixed — Range
  • int [ preset::PlacementTests ] — Tests

Returns — point

native point UnitTypePlacementTestsFromUnit(
	string inType,
	int inPlayer,
	unit inSource,
	fixed inRange,
	int inTests,
);

Category: Unit / Placement

# Examples

— None found —