why won't timeline change light & fog colors?

I am trying to change the fog inscattering color and the color of a dynamic directional light using a timeline. the timeline is also changing a parameter value. the parameter changes just fine, but nothing happens to the fog or light color. i can make these changes manually in the editor and see the difference, but the timeline doesn’t appear to be making the same changes. Here is my blueprint :

Try disconnection the Glow variable from the New Time pin and set it back to 0…then test it again

thanks for the reply. i disconnected the glow variable, compiled and ran with no change. the glow parameter changes like it should, which makes me think the problem is after the timeline, not before. i dragged the fog and light actors to the blueprint, so the references should be right.

i checked the color values coming out of the timeline and they are changing. for some reason, the fog and the light are not getting or displaying the changes.

Can you post a screen shot of the timeline?

for fun, i created a vector with 2 sets of keyframes for xyz values ranging from 0 - 1, and plugged that into the fog color with no change.

This is in the level blueprint correct?

Try something like this to see if it sets a color for the light:

82900-setlightcolor.png

…it should I think it might be the timeline that is causing this

yes , level bp with a tick event.

that works. so can you not use timelines to control the color of light and fog actors, or do i have to convert the color output somehow? i think i tried breaking the color output and plugging it into a make linear color before…

You can but I think because of the length of the timeline you aren’t seeing the changes maybe?..shorten it and test it with a shorter time span to see if it updates at all

I am trying to duplicate your setup to see if I can get it to work

I’m able to use a timeline to update the light color no problem I ran the timeline off begin play on loop:

What condition are you checking at the branch to run the reverse maybe it is firing play and reverse right away?

i’m checking the rotation of a directional light with a <=0. again the confusing thing is that my glow parameter works fine, and when i print from the color output on the timeline, it changes like it should.

i made a new timeline and ran it on loop off of begin play and it worked with no problem.

Then there is something setup wrong in the original time…take a look at its settings

i changed the transition of the timeline to 5 seconds and now it works, 10 was still too long. it is interesting that the parameter could have a timeline of 40 secs but the color change was limited to ~5. thanks for your help.

Do you have the length set at the top of the timeline to reflect the full length?..the default length is always set to 5…but you can adjust that at the top.

wow, i didn’t even know about the length and it was staring me in the face the whole time. i changed the length and checked the last keyframe next to it and that fixed all my problems. thanks so much black phoenyx, i don’t know how long it would have taken me to figure out this simple bit without your help.