Jass documentation Database
JASS Documentation Database REFORGED
Results for the query "GetUnitName" as a "function"
Function GetUnitName
Line: |
2987 |
Location: |
common.j |
Constant? |
yes |
Type: |
native |
Arguments: |
unit whichUnit |
Returns: |
string |
Preview
Extra spaces may have been removed from the original file to show the function in a comfortable way.
Information about GetUnitName
returns localized name for whichUnit. Example: -- Lua u = CreateUnit(Player(0), FourCC("hfoo"), -30, 0, 90) print(GetUnitName(u)) --> "Footman"
Page loaded in 0.1264 seconds.
|