x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] Auto Add Actors to World Layers

Hi!

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.

Thanks! Chris

Product Version: Not Selected
Tags:
more ▼

asked May 22 '16 at 06:54 PM in Using UE4

avatar image

Answers.Archive STAFF
1.8k 184 294 650

(comments are locked)
10|2000 characters needed characters left

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


1 answer: sort voted first

Hey Chris,

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?

more ▼

answered May 22 '16 at 06:54 PM

avatar image

Answers.Archive STAFF
1.8k 184 294 650

avatar image Answers.Archive STAFF May 22 '16 at 06:54 PM

That worked! Thanks!

(comments are locked)
10|2000 characters needed characters left

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question