So i understand i can use capture scene then Export render target to export it and i get how to Re-import it. I’m having a issue trying to understand the filepath side of things. How would i get it to export to the local game directory? Game/shots doesn’t seem to do anything
I see, the install location can be read in C++, but as far as I know there is no Blueprint native way to do it, so you will either need to write your own function or use a plugin. Alternatively The path-string “/Content/” exports to the “[InstallPath]/Content/” directory, I think. I have not tried that myself.
My Idea is like a In Game Camera where the player can take a picture then i can show it in UMG. However I also wish to save it for when the game is reloaded (Client)
/content worked my issue was i was playing in editor so it was saving to the same place my 4.23 was installed!
However say i exported it to the follwoing
/Content/Test and the file was called TestExport using the Get asset by object path how would i tell it to get that image and save it
You have the asset imported, and now want to permanently save it?
I think you would have to import it every time you restart the game and save a reference every time. Otherwise it would have to be packed into the game. There might be a way to pack it into a save. but I’m not sure that’s worth the effort.