How to store hit actor info in an array to then save that info in a save game?

If you write a function like this

Then you can destroy actors and put the references in the save game

and later, re-destroy them like this