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"

Is there a way to AllowCrossLevel references for actor properties?

Hi!

I have actors in my persistent level, and the actors in the other levels should reference them. I would like to setup the connections in the editor directly in the detail panel as there is a lot of stuff to set, but unfortunately it doesn't work. Once I set a property (on my actor which belongs to a streaming level) it is "None" again if the actor I selected is in the persistent level. I understand that this cross level stuff could cause a problem, but not in this case.

I found out that if I set the actor's RF_Public flag, the property can be modified the way I want... but the streaming level can't be saved anymore ("Graph is linked to object(s) in external map.

Is there a way to fix this? Why can't we store the reference in the streaming level and set the pointer to nullptr if the persistent level isn't there when we try to load it?

Thanks,

Elath

Product Version: UE 4.12
Tags:
more ▼

asked Jun 04 '16 at 07:33 PM in C++ Programming

avatar image

Elathan
426 25 29 59

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Try to set the property as a Reference ID instead of a pure Reference

more ▼

answered Mar 30 '17 at 10:34 AM

avatar image

Mewster
35 4 8 11

avatar image Elathan Apr 15 '17 at 09:26 AM

Based on your idea I found TAssetPtr, it looks like the thing I need.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question