set_preferred_id

Sets or clears a live unit’s preferred tactical ID.

Function

Synopsis

btech.unit.set_preferred_id( unit, id )

Arguments

DbRef|Object unit
The live unit.
string|nil id
Exactly two ASCII letters, or nil to clear the tactical ID. Letters are stored in uppercase.

Returns

None.

See Also