So I’ve been pretty pleased with myself for the most part. I’ve managed to do just about everything I’ve wanted to do in regards to creating my game. One thing continues to elude me, however, and that is updating a collection of attributes. I can create them and set their default values but I’m having a difficult time figuring out how to update the values. I can pull out each individual attribute and modify it…but it doesn’t save back to the character object it’s attached to.
The collection in question has a number of string attributes (name, type, description, quote) and two array attributes (power tags and weaknesses). I can create them on the character (each character gets set up with 4 of these) and set their default values. I can call each value and display them on the sheet. I can call each value and change them. I just can’t save those changes back to the character object.
Any help or suggestions on where I should look for advice would be greatly appreciated. Thanks!
