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"

Why am I having Problems toggling visibility?

Hi, I am following those light blueprints tutorials and I am following the wall sconce part. I created the class and set everything up. I properly connected the 'F' Keybind to 'Toggle Visibility' and my 'SconceLight' is connected to target but in game, pressing F does not work. Another note: This is in the EventGraph. It is such a simple setup and I have no idea how I screwed it up.

Product Version: Not Selected
Tags:
more ▼

asked Mar 21 '14 at 06:16 AM in Blueprint Scripting

avatar image

ArcherLovesSushi
1 2 3 5

avatar image DizzyWes ♦♦ STAFF Mar 21 '14 at 12:39 PM

Hi Rich,

Post a screen of your Blueprint and I'll take a look at what's going on.

-W

avatar image ArcherLovesSushi Mar 21 '14 at 05:35 PM

alt text This is in the EventGraph of the Actor Class Blueprint for the light

blueprint.jpg (96.5 kB)
avatar image DizzyWes ♦♦ STAFF Mar 21 '14 at 05:41 PM

How about the triggers which Enable Input, are those inside the Blueprint as well?

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

3 answers: sort voted first

Hi Rich,

You also have to enable input for this actor blueprint, so add an "Event Begin Play" node, and connect it to an "Enable Input" node. Like this:

alt text

enableinput.png (41.8 kB)
more ▼

answered Mar 21 '14 at 05:43 PM

avatar image

User-1420270633 STAFF
968 27 26 58

avatar image DizzyWes ♦♦ STAFF Mar 21 '14 at 05:46 PM

Second what Mike said, I'm assuming those are above your Input F node. You can do it with Triggers like the video or even easier Enable Input when play begins as Mike suggests.

avatar image ArcherLovesSushi Mar 21 '14 at 05:49 PM

Ok this worked! I guess because the guy was using an older build, he didnt have to do this. Either that or I overlooked the entire step.

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

I'd guess that you've put this into the sconce blueprint's Event Graph (Rather than the level Blueprint). In this case, you need to specify that the sconce will receive input (As it's not a player controlled entity like a pawn or vehicle, etc.). You can do this in the blueprint under Defaults>Input>Auto receive input or on a per instance basis in the Details>Input>Auto Receive Input.

more ▼

answered Mar 25 '14 at 10:32 PM

avatar image

Tom Shannon
99 8 10 18

(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