How get value from Runtime Curve Float?

How can I get a value from a variable of type Runtime Curve Float? I defined the keys in to graph, but in blueprint scripting I don’t see any function to get value from this graph.

Thanks!

  1. create a variable that will hold the curve
  2. assign the curve you created in the graph as the default value
  3. get values from the variable

2 Likes

Ok thanks! that works fine!

How to create a variable that will hold the cure?

Create a new variable and set its type like so:

Screenshot 2020-10-25 101239.jpg

Screenshot 2020-10-25 101203.jpg

Thanks! You are the god of the unreal engine 4.