sm.ai.isReachable
Check if the unit can reach the target position by moving along a path.
Kind: Function
Environments: Game
Game
sm.ai.isReachable( unit, position )
Parameters:
Returns:
| Type | Description |
|---|---|
| boolean | Returns true if the position is reachable. |