UNIT_SF_PROPER_NAMES

comment

Although this field holds multiple entries in World Editor ('upro'/"Propernames"), in game only the currently set proper name is returned/modified. Therefore it's impossible to retrieve the entire list via API.

Example (Lua, 2.0.2):

h3 = CreateUnit(Player(0), FourCC("Hamg"), -30, 0, 90)
print(BlzGetUnitStringField(h3, UNIT_SF_PROPER_NAMES))

print(BlzSetUnitStringField(h3, UNIT_SF_PROPER_NAMES, "proper name abc"))
print(GetHeroProperName(h3))
note

Equivalent to: GetHeroProperName/BlzSetHeroProperName. See also: BlzSetUnitStringField.

patch

1.31.0.11889

Source
common.j (raise an issue to discuss on Github or submit a PR)
Source code
    constant unitstringfield UNIT_SF_PROPER_NAMES           = ConvertUnitStringField('upro')