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"

Togglinh light and Syntax difference


I am pretty new to Unreal Engine 4. I have started making what I see in the tutorials, but I find only tutorials for older UE4 patches and I think the "syntax" Blueprint commands (for example https://forums.unrealengine.com/attachment.php?attachmentid=10177&d=1409357987, the red and blue boxes) are a bit different. Since I reached the 'Light Toggle' tutorial I have found some thinks (for example 'OnActorBeginOvelap' is used by different way) that aren't the same in patch 4.9 .

I have succeeded to make the light turn on and now I'm trying to make it turning on when I'm in the Trigger Box, but somehow I doesn't succeed.

I will be very thankful if you send me tutorial or just to show me how it must be done(screenshot for example or just write it) :)

P.S. Is there any file/documentation with the differences and how they look like now ?

Thanks in advance, Deivid :)

Product Version: UE 4.9
more ▼

asked Sep 29 '15 at 06:34 AM in Blueprint Scripting

avatar image

3 1 3

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

1 answer: sort voted first

Hello DeividDimitrov,

In order to toggle the visibility of a point light, you must drag a Trigger Volume and a Point Light in your level. Ensure that you click on your point light and in the details panel, go down to where it says Rendering and uncheck the visible box. This will ensure that your light starts in the "off" state.

With the basic setup completed, you can now have a look at my blueprint and try to copy it, which should allow you to toggle a point light on when you enter the trigger volume, and off when you exit the trigger volume.

alt text

Hope that helps,

Sean Flint

togglelight.png (187.0 kB)
more ▼

answered Sep 29 '15 at 02:26 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

avatar image DeividDimitrov Sep 29 '15 at 07:43 PM

Thanks a lot :)

(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