How do you assemble different variables to the same array

I’m pretty new to this so I’ll explain where I’m stuck to the best of my abilities, and thank you in advance!

I want to create a list of Writers that the player can hire, that have a couple attributes and traits that affect the writing time it takes to write the script as well as the quality of the script. Where I’m having trouble is creating the list of writers. I can make the random attributes and traits but I want to save it all to the one writer and then create a myriad of writers all with their own specific values. Of course I want to call that writer’s specific values when that specific writer is “hired” by the player.

Again thank you in advance for your help!

off hand i can think of two options that could solve your issue. first is to create a actor which represents the writer and stores all the stats, option two is probably better for your case though. option two is to create a struct which contains all the needed values for a rpg it would be things like hp mp dmg etc. a struct is basically just a collection of variables. then you would create the array and make its type the struct class.