# Float Providers

A borrowed concept from [Hogwarts Legacy](https://www.youtube.com/live/CeX9uFRfyxE?si=D1rVcFOYZfwgCrfl\&t=20981).

This is a simple instanced struct that will return a float. You can make children of this struct to create new available dropdowns.

I use this for my GA base cooldowns. In some cases, I want a scalable float or a runtime float curve.

The plugin comes with three examples:

<figure><img src="https://3180859593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVAFyKjs3d16ljfQ2o0%2Fuploads%2FSOjETTdoixgMmbf4ALo6%2Fimage.png?alt=media&#x26;token=1e69e5b1-013a-4b6f-b438-c9018360917b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3180859593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVAFyKjs3d16ljfQ2o0%2Fuploads%2Fy53LsW5FVXIfm96JBwEB%2Fimage.png?alt=media&#x26;token=8ecbe8a5-630d-46a5-bfb8-151e523e184c" alt=""><figcaption></figcaption></figure>

To properly use a float provider, you need a `TInstancedStruct`variable, then somewhere in your code (most likely BeginPlay), you need to assign the base value and world context.

<figure><img src="https://3180859593-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVAFyKjs3d16ljfQ2o0%2Fuploads%2F07BG0hNynd6uctpzJKir%2Fimage.png?alt=media&#x26;token=98a32d0b-ad8e-400a-8626-577f8fd5b57b" alt=""><figcaption></figcaption></figure>
