# 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
Flags —Native
|Function
# Arguments
string
<gamelink::Unit> — Unit Typeint
— Playerunit
— Sourcefixed
— Rangeint
<preset::PlacementTests> — Tests
Returns — point
native point UnitTypePlacementTestsFromUnit(
string inType,
int inPlayer,
unit inSource,
fixed inRange,
int inTests,
);
# Related
Category: Unit / Placement
- Move Blockers From Point For Unit Type —
int
— UnitTypeMoveBlockersFromPoint - Move Blockers From Unit For Unit Type —
int
— UnitTypeMoveBlockersFromUnit - Find Placement From Point For Unit Type —
point
— UnitTypePlacementFromPoint - Find Placement From Unit For Unit Type —
point
— UnitTypePlacementFromUnit - Find Placement From Point For Unit Type With Tests —
point
— UnitTypePlacementTestsFromPoint - Find Placement From Unit For Unit Type With Tests —
point
— UnitTypePlacementTestsFromUnit
# Examples
— None found —