set_display_name

Sets or clears a live unit’s display-name override.

Function

Synopsis

btech.unit.set_display_name( unit, name )

Arguments

DbRef|Object unit
The live unit.
string|nil name
A display name from 1 to 120 bytes, or nil to clear it.

Returns

None.

See Also