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"

Can a triggered event be triggered by a spesific actor in BluePrints

Hello good people, i was wondering how you would go about triggering an event (light visability) by having spesific actors overlapping a collision box in BP's? Im pretty new to ue4 so i dont see an obvious way to do this, i have tried "has tag" and "is child" (with childing(?) the actors to the triggerbox), but i feel like i am missing something..

The easiest way to set this up would be very much appreaciated :D

Product Version: UE 4.21
Tags:
more ▼

asked Dec 20 '18 at 03:55 PM in Blueprint Scripting

avatar image

Niku-zan
7 1 1 4

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

2 answers: sort voted first

Create a Blueprint Interface.

In the Actor/Actors that you want to use this interface on, Edit your blueprint and click on Class Settings. In the DETAILS panel you will see a section called Interfaces, Add the BluePrint Interface you just made.

Now on your Overlapping BOX/VOLUME Trigger event the overlapping actor drag off and type in does implement interface? Select your interface and use a branch that if true use the lighting or w/e.

more ▼

answered Dec 20 '18 at 04:01 PM

avatar image

esjastad
1 1 4

avatar image Niku-zan Dec 20 '18 at 04:14 PM

Thanks for the swift reply, unfortunately that didnt work ;/

But! I did manage to get the "Is Child?" node to work when i carry the objects, but i am launching these children with "Add Impulse", and then it seems to ignore them,.. Any idea why that is? Almost like it doesnt register them in time to call the event?

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

Like this, here is an example using the level BP and a trigger box which you can select in the editor and open the level BP, right click and ask it to create an overlap event for the box trigger. Then just set up the nodes like so:

alt text

more ▼

answered Dec 20 '18 at 06:22 PM

avatar image

Nebula Games Inc
4.9k 27 9 14

(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