• Async

    Returns localized name for unit.

    Example (Lua):

    u = CreateUnit(Player(0), FourCC("hfoo"), -30, 0, 90)
    print(GetUnitName(u)) --> "Footman"

    Parameters

    Returns string

Generated using TypeDoc