> For the complete documentation index, see [llms.txt](https://rpg-system-all-in-one.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rpg-system-all-in-one.gitbook.io/documentation/other-subsystems/custom-variable-system.md).

# Custom Variable System

Custom Variables store an Integer Value for specific Players via the UniqueID or Global for all Players. Each Custom Variable has an FName as the Identifier(ID) which needs to be Unique. All variables are stored in the GameInstance of the Server and the Clients keep a copy of it. You can even bind a Custom Dispatcher to trigger events if a specific value is reached.&#x20;

### Global Private

<figure><img src="https://lh6.googleusercontent.com/1p3_5sWDJMD-Xxt_9WkJTiOvMLL11Lcn2dij829lhUiCvwYD3pYeoGxDADz2ZxbLKuyGhpBGJBaquCxIgiLLDP3wNW6T-u31djQJH2dN2cqLhNGNkX-kn5ZD57e_9VOwyXn6Uvwkbdglcoae-4h9Sy6tTt5-GqPcsxM3PE4VzVMnLwXmsmFbolMOzEoqiQ" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh3.googleusercontent.com/fWD5prmRmDYQcX8JbrTOeffayfzt1XTwJncIoetBpK2nmmmsBDIP4a756RxN94IP363I3SWCxqFed53N2slmsXzxUXRq9S5R2aELwT7E2QGrTFK2GERPE2bKnsGSxTvNbI6BTI1dL2QBRZcBAjkPiQaLrNIAoGPhGxOKpuyl38xDmEb5NIlz7S-U7pMNfw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh3.googleusercontent.com/1_d9S5S7t0SUKB4MmljBryWs-3MBB2mWS9V_9CgbCc9Igvf0SzLWTyz5csLvY7NOpMeN5iUJGWjhnE49d9jlvuEqTEvWGKp6JzKdVTKe7rCkZH4KdA5yDOiRsP-oFm1AoYnexiFk7Dmqmdc9uk3f2oRdCqgROoeoNWP55yC45kDKuNbCyekpa3muenvq-A" alt=""><figcaption></figcaption></figure>

### Interact Example

### Global

\
![](https://lh3.googleusercontent.com/yaTpeerwG63dKysGK4yk1FESn-lAP_jkPMwoHsTrR8zCw0UtOk5QS14t1e5T2XUmpps-vQtybK7wcaMYBMOLHVRtSpO3f7zsHWjnGzTEH4OnkRjxLJYUWv00UYx9wxKq_V1DpP6F-BPDYaVPGxCX-xqr5AiNJvnvPikVlxO-N24vBg_slAPqd8dhkKhsTQ)

## Private

\
![](https://lh4.googleusercontent.com/vHKc3_vtusSdeoze29WFiNTL2cvIP5HxBfDIp8R14PRNuBCmcjbGlmXtW-5mrWB2OczBEbtQ5Rtpp_nAT4opNdShtRXX6R-EK-IiAYclSjgKSpGEqOIw6105O0W0jPIg8JWeWBpckiKnL_MGJH_I4bMYHRjq6DTtBfkZq_8UMUrpX20nGWz-HuNYApxffA)

We also implemented it to our Treasure and Item drop Blueprint which can be used as OnExpose options too:

\ <br>

![](https://lh4.googleusercontent.com/NV7T9JBqLyw-2Q71yuzyBxU0cFO2nCjzi5jAaBn3sc_vA_xVat7UJu_JjOamOSukAU65IzRT8bcWX3lAfQH41opC1fncLo3tyyku9i-Sho6g5ZT9LMv7Fl1yLfdVh0aUoWfdGDE6y_HkAiGkf2lNltay04CQaumHKzpz7_r30MZ6I8y5TbdE731VcebR8A)

\ <br>

![](https://lh6.googleusercontent.com/iiLpwCkSvNCq8m8ecw6RvBcvJtoqm9hqT8H0r7UYaEKMfIna1Wi9LSOhZZFyeqEg-v3fVxFYz1ZcEHNvIOH3KnrMdYbovJfF6pbMNIrTqo_X-_C3kb6AD7aOjgLZRUVYtpRQ5iqUIFtzeQf4v8nwnqVekiRfKpLLC_LxnBcNyXO0dGmnl-M8vv-_7Nirbg)

<br>
