Hello!
I’m working on a railroad building system for my game. I want to use the same system to build the default track, that the players later can add to or remove.
The current workflow i have is this:
- Build track in PIE.
- Press F8.
- Select all new track pieces.
- Ctrl + c to copy.
- Exit from PIE mode.
- Ctrl + v to paste the tracks in the editor.
The problem is that it can be very tedious to select all new pieces if you have built av few km of track. And it is easy to select wrong and get a double (leads to bugs and is hard to find).
My plan is to make a editor utlity widget, that with a button click:
- Select all new railroad actors (tagged as new when i place them).
- Transfer them to the editor world.
- Remove the tag.
The problems i have is:
Selection: SetSelectedLevelActors (BP node) do not work on PIE actors.
Copy/Paste: can you do that some how in a editor utlity widget?
Is there a better way to transfer the actors? Copy/paste is very slow!
Thankful for any tips!
/Johan