Hello
I need to create an object, in which I intend to only store attributes.
Which is the simplest sub-class of Instance which I can use (as the Instance class is not directly creatable)?
Thanks
Hello
I need to create an object, in which I intend to only store attributes.
Which is the simplest sub-class of Instance which I can use (as the Instance class is not directly creatable)?
Thanks
I would recommend using a Configuration for holding these values, as this is almost exactly what it was made for.
Do you mean attributes or object values? Attributes should be set for the instance they belong to.
Player:SetAttribute("Greeting", "Hello world!")
For object values, a ‘Configuration’ folder as suggested would suffice.
I mean attributes. But as I need many of them, I would like to use a separate object
There is no limit to the number of attributes you can use in your game, however there is a limit to the number that can be saved per-instance. That limit is very big so you should not need to worry about it.