sm.ai.getClosestVisibleCharacterType

Returns the character of a given uuid type that is closest to the unit.

Kind: Function

Environments: Game

Game

sm.ai.getClosestVisibleCharacterType( unit, uuid )

Open the full Game reference

Parameters:

Name Type Description
unit Unit The unit.
uuid Uuid The character uuid.

Returns:

Type Description
Character The character.