Named

This component allows your prefab to have a name. The name is either picked from a list or defined directly at some point.

Component Named Fields

TypeNameDescription
tablepossiblenamescontains strings; add them using table.insert
string (formatting code)nameformatif available, names will be formatted with it

Component Named Methods

NameParameterReturnsDescription
PickNewNamenilnilpicks a new name from the list
SetNamenamenilsets "name" to the new name, or restores the STRINGS.NAMES value

Example