Save Game Cable connections or power system

Blockout22
Sat, 15 May 2021 11:26:46 +0000
Editor Scripting

I have setup a prototype building game that allows me to place actors in the world using a keybind, I can successfully save and load the actor with it’s location and data when needed but what I can’t figure out is how I could load the data that is required to connect with another actor e.g. having a power system using wires and having other actors connect with each other

The only thing I can think of is having loading phases:

phase 1:Load all actors and spawn them into the world

phase 2: Get all actors, Check And find the component I want the cable to connect to

phase 3: Assign the cable to the component

2 posts - 1 participant