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. 

How to interact with components of a blueprint

Good night. As a beginner I followed a lot of tutorials about UE4, and one of them was about using line trace and a class to interact with blueprints (the whole blueprint), like open doors and other simple triggers. But I can't figure how to do the next: I made a blueprint car (all static mesh) with a lot of components, and I was wondering how to use the line trace and trigger with a click to only one of the components (like click on the radio and turn it off).

alt text alt text alt text alt text

Product Version: UE 4.15
image1.png (884.5 kB)
image2.png (116.3 kB)
image3.png (175.1 kB)
image4.png (260.2 kB)
more ▼

asked Apr 05 '17 at 07:25 AM in Blueprint Scripting

avatar image

21 8 8 10

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

1 answer: sort voted first

I use almost the exact same system as, this is what I have: alt text

When the linetrace hits the radio, you handle turning it on with the true branch, when it doesn't hit the radio you check if it hits anything else you need checking with the false branch.

more ▼

answered Apr 05 '17 at 12:26 PM

avatar image

604 34 26 43

avatar image Rbacch Apr 05 '17 at 04:53 PM

This looks like exactly the thing that i'm looking for, but how do I add the "component" on the event call?

avatar image Rbacch Apr 05 '17 at 08:14 PM

Nevermind. Got it working adding an Actor Reference to my BP Interface. Thanks for the big help, MrGoatsy. =)

(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