[Closed] Auto Add Actors to World Layers
In UE3 there was a way to make certain actors be automatically placed in layers in the world by editing their Default Properties, is there a way to set this in UE4 via code?
I want to add all lighting actors automatically into a Lighting folder in the world outliner.
The question has been closed May 22 '16 at 06:56 PM by AndrewHurley for the following reason:
The question is answered, right answer was accepted
Unfortauntely there's no way to achieve this currently. If you wanted to modify your build however, you could change AActor::FolderPath to be protected, and set FolderPath in the constructor for ALight, for instance, to "Lights".
I'd expect that to work out ok, if you wanted to give it a shot?
answered May 22 '16 at 06:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here