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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Referencing a variable from the level blueprint in another blueprint?

I have a bool in my level blueprint. I want to be able to check the value of this bool in my character blueprint.

Blueprint interfaces, which is what I would normally use, don't seem to be supported in the level blueprint (there is no interface category in the Blueprint Props of a level blueprint).

Blueprint communications don't seem to work either. The moment I add in the level blueprint as a class variable I get an error preventing me from saving the blueprint.alt text

Is level blueprint communication not supported or am I missing something here?

Product Version: Not Selected
Tags:
more ▼

asked May 13 '14 at 08:58 PM in Blueprint Scripting

avatar image

Mussimo
8 1 2 2

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

1 answer: sort voted first

Check out Communication level in Content Examples. Maybe you can get around by calling an event inside the Level Blueprint that will itself call an event inside your blueprint which would pass that bool as a parameter.

more ▼

answered May 13 '14 at 09:22 PM

avatar image

IhorM
61 4 6 8

avatar image Mussimo May 13 '14 at 10:04 PM

Good suggestion. I checked out that level and it had a lot of helpful examples. It made me realize I could just do a cast to my character class after my overlap trigger goes off. Thanks!

(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