Hello!
So I am trying to save a structure to a file so that it will automatically be re-spawned by command. I wasn't able to save the actual BuildingBlock object, so I took the Prefab name, estimated position and direction, and saved them to a file.
When I re-spawn the structure, it ends up falling apart from what looks to be a slightly off rotation. I couldn't find a way to get a non-estimated rotation. Would there be a better way to save this to the file and re spawn them?
Thanks!
Saving structures to file, and re-spawning them
Discussion in 'Rust Development' started by The FSM, Jul 13, 2016.
-
Wulf Community Admin
Wouldn't this be the same as the Copy/Paste plugin?
-
Yes, however I need custom functionality implemented in my plugin. I am basically trying to automate updating structures on the map so that I don't have to do a bunch of manual labor across my servers.
-
Why don't you just reference CopyPaste in your plugin?
-
I must have been looking at the wrong copy and paste plugin as the one I see now seems more like what I need. I will give it a shot when I get back to my desktop
