[SOLVED] BP increase float linearly over time

Hey I can’t seem to find a way to simply increase a float over time without having to use the Finterp To node.

All I want to do is set it so that a float has 0.1 added to it over time until it hits say 5.

I don’t want to have to use a timeline because I want to be able to edit a clamp for min and max during realtime.

Thanks Erasio, you gave me some headway in how to do this.

I’ve added a simplified version of my graph in the image below and commented exactly how each step works. It’s actually pretty simple once you can get your own second counter to work and reset.

You could do it in two ways.

  1. Use a delay as a loop. You have a part in your event graph where you enter into a delay node. This one goes into your “Set [float variable]” node which gets how much you want to increase and then the whole thing goes back into the delay node.
  2. You could use the event tick and delta time. Multiply Delta Time with how much you want it to increase every second and set that every tick.

Done.

Or you have a third way, in my opinion, better than that:
Use a timeline.