[PLUGIN] Savior

@ChrisK

I have modified the “Load Actors of Class” function to do what you need.
This node will respawn actors from records (when the GUID of the Actor doesn’t exist yet in the World) and will also respawn Actor Components that are missing and have implemented in the Component Class the Procedural Interface before loading hierarchy data:


You could use already existing nodes (or c++ functions) to do the same, but I know might be confusing to deal with the concurrency of multiple threads the plugin might be running…

So in this function RespawnActorsHierarchyFromData(…) I put everything together to run from within the main Game Thread, so you ca invoke it from anywhere if needed.
To save, you can use any existing Save function from the plugin, you have to make sure the Components have SGUID property and implement the Procedural Interface.

Also make sure that on your project settings, the plugin has authority to respawn components and the classes are listed in allowed Scope (or a parent class such as the base class ActorComponent).


I will run some tests tomorrow, if it’s all fine I submit an update to the Marketplace next Monday.