Made For Unreal — Docs
Blueprint CheatsAPI ReferenceBlueprint API

Cheat Arguments (Blueprint)

Typed inputs your cheat declares in Named Expected Arguments — declaration, per-type fields, and the value-reading nodes.

Cheat arguments are the typed inputs your cheat declares in Named Expected Arguments. The map key is the argument's name (used to look it up inside Execute); the value is one of the argument classes listed below.

Declaring arguments

  1. Open your BPCheat_* asset.
  2. In Class Defaults, expand Named Expected Arguments.
  3. Click + to add an entry. The map key is the argument's name — this is what you'll look it up by inside Execute.
  4. For the value, click the dropdown and pick the argument class — one of:
    • Blueprint Cheat Bool Argument
    • Blueprint Cheat Int Argument
    • Blueprint Cheat Float Argument
    • Blueprint Cheat Double Argument
    • Blueprint Cheat String Argument
    • Blueprint Cheat Enum Argument
  5. Each entry expands inline. Fill in the per-type fields below.
  6. Use distinct Position values (0, 1, 2 …) to control both console parsing order and menu sort order.

Universal fields

These appear on every argument:

FieldNotes
Display NameLabel shown in the menu and used in error text. Falls back to the argument name.
Position0-based positional index. Drives console parsing order and menu sort order.
OptionalWhen on, parsing succeeds even if the player omits this token (and any later ones).

Per-type fields

Bool argument

FieldNotes
Default ValueOptional. Applied when the console token is missing.

Accepted console spellings: true/false, 1/0, yes/no.

Int argument

FieldNotes
Default ValueOptional.
Min ValueOptional inclusive lower bound.
Max ValueOptional inclusive upper bound.

When both Min and Max are set, the menu spinner clamps to that range.

Float argument

FieldNotes
Default ValueOptional.
Min ValueOptional inclusive lower bound.
Max ValueOptional inclusive upper bound.

Double argument

Same fields as Float, with double precision.

String argument

FieldNotes
Default ValueOptional.
Min String LengthInclusive minimum length. Default 0.
Max String LengthInclusive maximum length. Default 9999.

Enum argument

FieldNotes
Enum TypePicks the enum asset this argument represents. Drives parsing and menu drop-down.
Default ValueDefault enum entry, or None for no default.

The console accepts either the entry's display name or its raw name. The menu surfaces a drop-down populated with the enum's display names.

Reading values inside Execute

The Execute event hands you a Map<Name, BlueprintCheatArgument> keyed by the names you set above. Look the entry up with Find, then convert with the matching getter.

Execute(Controller, CheatArguments, OutcomeMessage)
  ├─ Find(CheatArguments, "Multiplier") ──► Argument
  ├─ Get Cheat Argument As Float (Argument) ──► Multiplier (float), bSuccess
  └─ Branch on bSuccess
       ├─ true  → use Multiplier, set OutcomeMessage = "OK", Return true
       └─ false → set OutcomeMessage = "Multiplier missing", Return false

Value-reading nodes

Argument typeNode
BoolGet Cheat Argument As Bool
IntGet Cheat Argument As Int
FloatGet Cheat Argument As Float
DoubleGet Cheat Argument As Double
StringGet Cheat Argument As String
EnumGet Cheat Argument As Enum (typed K2 node)

Each returns bSuccess. A false result means the argument was missing, the type didn't match, or the player skipped an optional argument. Use that bool to gate your logic and set OutcomeMessage.

For raw enum access there is also Get Cheat Argument As Enum Value, which returns a generic int32 — but the typed Get Cheat Argument As Enum node is almost always preferable.

Default-value nodes

When you want to read the configured default rather than the runtime value (useful inside custom argument widgets):

  • Get Cheat Argument Default Bool Value
  • Get Cheat Argument Default Int Value
  • Get Cheat Argument Default Float Value
  • Get Cheat Argument Default Double Value
  • Get Cheat Argument Default String Value
  • Get Cheat Argument Enum Default Value Display Name

Clamp / metadata nodes

NodeReturns
Get Cheat Argument Int Min MaxMin/max for an int argument.
Get Cheat Argument Float Min MaxMin/max for a float argument.
Get Cheat Argument Double Min MaxMin/max for a double argument.
Get Cheat Argument String Length Min MaxMin/max length for a string argument.
Get Cheat Argument Enum Display NamesDisplay names of all the enum options.

These are what custom argument widgets call from On Expected Argument Set to configure their controls.

Setter nodes

For custom argument widgets that push their edited value back into the argument before the cheat executes:

  • Set Cheat Argument Boolean Value
  • Set Cheat Argument Int Value
  • Set Cheat Argument Float Value
  • Set Cheat Argument Double Value
  • Set Cheat Argument String Value

The default menu row already calls these via each widget's Commit Value event — only call setters yourself in custom widgets.