sm.ai.getClosestVisiblePlayerCharacter
Returns the character closest to the unit.
Kind: Function
Environments: Game
Game
sm.ai.getClosestVisiblePlayerCharacter( unit )
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
Returns:
| Type | Description |
|---|---|
| Character | The character. |