Skip to content
Jigwright

Set Property

Set one property and verify it took. Returns a before/after diff read back from the object, not the value that was requested. Leaves the package dirty; call hf_save_object to persist.

hf_set_propertyWrite

Arguments

NameTypeDescription
objectreqstringAsset package path (/Game/Folder/Asset), full object path (/Game/Folder/Asset.Asset), or an actor label in the editor world.
propertyreqstringProperty name.
valuereqstringNew value in Unreal text form. Structs look like (R=1.000000,G=0.000000,B=0.000000,A=1.000000). Use hf_get_property first to see the exact format for this type.
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.

Also in Properties: