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_propertyWriteArguments
| Name | Type | Description |
|---|---|---|
objectreq | string | Asset package path (/Game/Folder/Asset), full object path (/Game/Folder/Asset.Asset), or an actor label in the editor world. |
propertyreq | string | Property name. |
valuereq | string | New 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. |
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. |
Related tools
Also in Properties: