Function Libraries (Blueprint)
BP nodes for reading and writing argument values, building argument widgets, and the typed Get Cheat Argument As Enum K2 node.
Two function-library categories ship with the plugin. They contain the nodes you use to read/write argument values and to build argument widgets. Everything here is exposed as Blueprint nodes — no C++ required.
The nodes live under these action menu paths:
- Blueprint Cheats → Arguments
- Blueprint Cheats → Arguments → UI
Argument value nodes
Every getter validates that the argument is non-null, of the right
type, and has a value set. On mismatch, the node returns
bSuccess = false and the value pin receives a sentinel (zero or
empty). Use bSuccess to gate your logic and set OutcomeMessage.
Read current value
| Argument type | Node |
|---|---|
| Bool | Get Cheat Argument As Bool |
| Int | Get Cheat Argument As Int |
| Float | Get Cheat Argument As Float |
| Double | Get Cheat Argument As Double |
| String | Get Cheat Argument As String |
| Enum | Get Cheat Argument As Enum (typed K2 node) |
For raw enum access there is also Get Cheat Argument As Enum
Value, which returns a generic int32 for a given UEnum. Almost
always prefer the typed node.
Read default value
When you want the configured default rather than the runtime value (used inside custom argument widgets):
| Argument type | Node |
|---|---|
| Bool | Get Cheat Argument Default Bool Value |
| Int | Get Cheat Argument Default Int Value |
| Float | Get Cheat Argument Default Float Value |
| Double | Get Cheat Argument Default Double Value |
| String | Get Cheat Argument Default String Value |
| Enum | Get Cheat Argument Enum Default Value Display Name |
Read clamps and metadata
| Node | Returns |
|---|---|
| Get Cheat Argument Int Min Max | Min/max for an int argument. |
| Get Cheat Argument Float Min Max | Min/max for a float argument. |
| Get Cheat Argument Double Min Max | Min/max for a double argument. |
| Get Cheat Argument String Length Min Max | Min/max length for a string argument. |
| Get Cheat Argument Enum Display Names | Display names of all the enum's options. |
Write current value
For custom argument widgets that push their edited value back into the argument before the cheat executes. The default menu row already does this via each widget's Commit Value event — only call setters yourself in custom widgets.
| Argument type | Node |
|---|---|
| Bool | Set Cheat Argument Boolean Value |
| Int | Set Cheat Argument Int Value |
| Float | Set Cheat Argument Float Value |
| Double | Set Cheat Argument Double Value |
| String | Set Cheat Argument String Value |
Setters are non-validating — they no-op when the type doesn't match.
UI helper nodes
Build Widget For Argument
Build Widget For Argument(For Argument, Owning Widget) -> Argument WidgetLooks up the widget class for the argument's type in Project
Settings → Blueprint Cheats → Argument Type To Widget Map,
constructs a widget owned by Owning Widget, and binds the argument.
This is what the default menu-item row uses to populate
ControlsContainer. Custom rows can call it directly when laying out
arguments.
Returns None if no mapping is registered for the argument's class.
Custom K2 node
The plugin also ships a custom Blueprint node that gives you a typed
enum value rather than a raw int32:
Get Cheat Argument As Enum
A pure node found under Blueprint Cheats.
Pins:
- Argument — the
Blueprint Cheat Argumentto read. - Result Value — strongly-typed enum pin. The pin type is resolved from the argument's configured Enum Type when you connect a known argument; otherwise from the dropdown on the node.
- Success —
bool.
This is the recommended way to read enum arguments — it avoids the
manual int32 → enum conversion required by Get Cheat Argument As
Enum Value.