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"

Level BP Area Interact

Hello, i've been creating a house and i have created a some spotlights that activate by press E on light switch, and now i've been creating a light system to another room, and when i press E on the other actor all the lights turn on, but i don't need it, i need that just turn on the lights of the light switch of the room. I made all this interactions with lights in the level blueprint, and i need to use the same button to turn on the lights, but in different lightswitch alt text

alt text

Product Version: UE 4.18
Tags:
2.jpg (233.4 kB)
3.jpg (56.4 kB)
more ▼

asked Feb 05 '18 at 06:43 PM in Blueprint Scripting

avatar image

Kasyad
39 1 2 8

avatar image Kasyad Feb 05 '18 at 06:44 PM

Thanks for your attention.

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

1 answer: sort voted first

Hello Kasyad, Welcome to Answerhub!

Best practice would be to create a lightswitch blueprint and assign lights to that BP.

https://www.youtube.com/watch?v=THMd4HaHnZM

If you insist on continuing with creating the functionality in the Level BP, you may be able to get away with using Trigger Volumes (Overlap Events) and opening/closing "Gate" nodes to drive the logic.

Hope that helps!

more ▼

answered Feb 05 '18 at 07:48 PM

avatar image

Alex O ♦♦ STAFF
2.8k 5 10 11

(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