Set Blueprint Variable
Change a Blueprint variable's type, category, default, replication, or its editable, read-only, transient and save-game flags. A TYPE change breaks every node using the variable, so it is reported and gated.
hf_set_blueprint_variableWriteArguments
| Name | Type | Description |
|---|---|---|
blueprintreq | string | Blueprint ASSET path, no _C suffix. |
variablereq | string | Existing variable name. |
accept_type_change | boolean = false | Required to change the TYPE when nodes use it. |
blueprint_read_only | boolean | |
category | string | |
default | string | New default value, as the editor would show it. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
instance_editable | boolean | |
rep_notify | string | RepNotify function name. Empty string clears it. |
save_game | boolean | |
transient | boolean | |
type | string | New type. Scalars, object:Class, struct:Name, enum:Name, array<T>, set<T>, map<K,V>. Omit to leave alone. |
Related tools
Nearby in Blueprints and graphs:
- Remove Blueprint Interface
- Remove Blueprint Variable
- Reparent Blueprint
- Set Blueprint Component
- Set Blueprint Defaults
- Set Function Signature
- Set Pin Default
- Set Timeline Curve
All 40 tools in Blueprints and graphs — 31 more not listed here.