UnitGroupFilter
unitgroup AiFilterPathable(unitgroup g, point dest)
Filter the units that can reach the destination.
Parameters
- unitgroup g
Original unit group
- point dest
Destination
Return value
unitgroup - A unit group composed of all the units that can go to the destination.
Examples
- Example: Sample Usage
// Select all the units of the player 1 unitgroup g = UnitGroup(null, 1, null, null, 0); g = AIFilterPathable(g, Point(50, 50)); // Group of all units of the player 1 able to go to the point 50, 50
- 1 comment
- 1 comment
- Reply
- #1
vjeux Apr 05, 2010 at 14:41 UTC - 0 likesThis function returns really strange result. Not reliable.