Async
Returns localized name for unit.
Example (Lua):
u = CreateUnit(Player(0), FourCC("hfoo"), -30, 0, 90)print(GetUnitName(u)) --> "Footman" Copy
u = CreateUnit(Player(0), FourCC("hfoo"), -30, 0, 90)print(GetUnitName(u)) --> "Footman"
Target unit.
Generated using TypeDoc
Returns localized name for unit.
Example (Lua):