Is it possible to relatively quickly replace an actor in a level

Let’s say A, B and C actors of the same class in different levels.
A is in the main level. I would like to replace A with B when B’s sublevel is loaded. This replacement can be made in a persistent way ( changes are written to level and refs) or in a volatile way (changes are not written, therefore everything goes back to normal once sub is unloaded). Of course any asset that references A will now reference B seamlessly.

Further more, lets say i did replace A by B persistently. I would like to be able to replace later late A with another asset C - then B would get replaced in fact.

So I am not asking how to do this. I would like to know if it would be possible to do this in a plugin without writing 2500 lines of code and editing the source of the engine. If you have any tip on where to start it would be great too :wink:

Thanks guys :slight_smile: