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?

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).

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!