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"

Delay with Pointlights

Hi all. I followed a tutorial in youtube called "Adding Toggling in Level Blueprint." But now, the new version UE 4.7 have some differences like the new button "possess" you have to select after selecting simulate in order to make it work.

The only thing that doesn´t work like in the tutorial is the Delay. When I simulated the test and enter inside the TriggerVolume it takes 5 seconds to immediately turn on the light. It is supposed to work like a light dimmer. How can I make it work like in the tutorial?

alt text

Product Version: Not Selected
delay blueprint.png (786.6 kB)
more ▼

asked May 06 '15 at 01:59 PM in Blueprint Scripting

avatar image

0 1 2

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

1 answer: sort voted first

If I understand you correctly; you expect some smooth transition to happen. Delay will only delay execution of your blueprint. It will not perform any interpolation/animation of the light intensity. Besides this, toggling the visibility will imediatly turn of the light without any transition.

A possible solution might be to use a timeline and Lerp the light intensity value at each update in the timeline or multiply the timelinenumber by the desired intensity.

(Timeline values should slide from 1.0 to 0.0 (turning off the light) or from 0.0 to 1.0 (turning on the light)... then at each update multiply the current timeline value by the desired light intensity. Then set the result value as the new light intensity).

more ▼

answered May 06 '15 at 02:04 PM

avatar image

106 2 7 6

avatar image Mmau89 May 06 '15 at 05:35 PM

Thanks for your hint! It work like a light dimmer with Timeline. Now I have to mix or unify this two Blueprints; Toggle visibility with a TriggerVolume and add a timeline when I enter and leave the TriggerVolume I think. Getting close!

alt text

dimmer.png (1.0 MB)
(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