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"

When making a function, why are the nodes are greyed out?

Hi. I noticed that when I make a function blueprints (so that I can use it across various class blueprints), the nodes are greyed out. This surfaces a problem because I want to link 2 boolean variables together.

http://i.imgur.com/nmsSuHo.png

Those two. What I want to happen is that when a character overlaps an actor, it turns on that boolean (a powerup). When that boolean is turned on, it executes a certain event. Now, I used to have this in the level blueprint, but the issue with that is that it only works with one instance of the actor (powerup), so I can't really mass-replicate it across the map.

What would be a way to solve this? If the nodes are meant to be greyed-out, then what is another way I can communicate with class blueprints without using the level blueprint (that works for this)?

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked May 01 '14 at 11:37 PM in Blueprint Scripting

avatar image

jfaztk
321 44 61 72

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

1 answer: sort voted first

Hi,

Take a look at this page on Blueprint Interfaces. "Interface functions have no implementation. They exist simply as a definition of inputs and outputs. These can be used to send data through the interface, or can be overridden within any Blueprint that implements that Interface."

What you'll need to do is inside the Blueprint that you want to pass information to, select the Blueprint Props option and in the Details panel under Interfaces, click the Add button to add the interface.

There is additional information in this thread as well:

https://answers.unrealengine.com/questions/4964/how-to-have-blueprints-pass-variables-to-each-othe.html

-W

more ▼

answered May 02 '14 at 12:41 PM

avatar image

Wes Bunn ♦♦ STAFF
5k 145 64 206

(comments are locked)
10|2000 characters needed characters left
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