Using Curves in a Struct

I’ve created a few weapons. They each have variables for minRange, maxRange, and optimalRange. Then I built a curve for each one. The idea is that the curve would apply modifiers to the hitChance based on range, and each weapon would have its own curve.

The problem is that I can’t figure out how to add that curve to the weapon. I can make an “Interp Curve Float” variable type, but I can’t associate my curve with that variable. What am I do wrong? What do I need to do differently?


Never mind, I got it. I needed to use the “Runtime Float Curve” type.