Skip to content
Jigwright
HullForge docs

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_variableWrite

Arguments

NameTypeDescription
blueprintreqstringBlueprint ASSET path, no _C suffix.
variablereqstringExisting variable name.
accept_type_changeboolean
= false
Required to change the TYPE when nodes use it.
blueprint_read_onlyboolean
categorystring
defaultstringNew default value, as the editor would show it.
forceboolean
= 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_editableboolean
rep_notifystringRepNotify function name. Empty string clears it.
save_gameboolean
transientboolean
typestringNew type. Scalars, object:Class, struct:Name, enum:Name, array<T>, set<T>, map<K,V>. Omit to leave alone.

Nearby in Blueprints and graphs:

All 40 tools in Blueprints and graphs — 31 more not listed here.