BlzSetUnitStringField
- Parameters
-
whichUnit unit
whichField unitstringfield
value string
literal string or a "TRIGSTR_123"
- comment
-
Returns true if field is valid and new value was applied; false if invalid unit/field.
- note
-
Many fields don't work at all. See
ConvertUnitStringField
for a list. - note
-
See:
BlzGetUnitStringField
,GetUnitName
,GetHeroProperName
- patch
-
1.31.0.11889
- Source
- common.j
- return type
-
boolean
- Source code
-
native BlzSetUnitStringField takes unit whichUnit, unitstringfield whichField, string value returns boolean