Garbage Collection with Variables (Blueprints)
Quick question! I would like to save all the items in a player's inventory in their loaded object actor state (as opposed to classes or data structures). For example, if I have a sword object, I would like to have multiple permutations of that object (enchantments, enhancements, etc.). I realize I could go through and expose on spawn all of the variables that determine those features and set them on run time, but I suspect it would be easier to just store an array of actor objects as my players inventory instead. My question is, will that array get garbage collected eventually? Am I safe in storing an array of actors in my character? Thanks!
asked Jun 08 '15 at 04:20 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here