. . . Posted October 8, 2016 Share Posted October 8, 2016 (edited) Hello, I need help . So, if someone can tell me how can I make my character have the same affects of the "insomniac" tag when she goes insane without actually using the "insomniac" tag? You might be saying "Well duh just use the "insomniac" tag, idiot!" well I can't put any more tags on my character because this lovely crash happens that Klei will never fix " Error serializing tags for entity adam[108664] - 32 tags; exceeds maximum size of 31 " So, can someone guide me how to do this? Thanks so much for reading my problem & have a wonderful day/night !!! Edited October 8, 2016 by SuperDavid Link to comment Share on other sites More sharing options...
Lumina Posted October 8, 2016 Share Posted October 8, 2016 How can you end with so many tag ? Maybe it's possible to solve that part. Link to comment Share on other sites More sharing options...
Aquaterion Posted October 8, 2016 Share Posted October 8, 2016 yea, and also, some other mods might add tags to your character, so its usually a bad to have exactly max. Link to comment Share on other sites More sharing options...
Serpens Posted October 8, 2016 Share Posted October 8, 2016 (edited) I would suggest using components instead of Tags, at least everytime it is a Tag you invented yourself (so not a game tag), see this thread: You can also make it very basic, in sence that you just make "AddComponent("mycomponent")" instead of adding a Tag. And instead of checking "inst:HasTag()" you check "inst.components.mycomponent". But be aware that only server can check components! If you have code that also runs for clients, this won't work. Edited October 8, 2016 by Serpens Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now