class

FScriptValueMdf

Module
Game
Header
#include "Game/ScriptVariableHost.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
MDF::MdfValueToMdfContainers become MDF arrays (a map: an array of [key, value] pairs).
VisualScriptValueFromMdf
boolWriteOverridesThe overrides of a host (values that differ from their declared default) into node, and back.
voidApplyOverrides
boolSameValueValue equality for script variables: VisualScriptValue::Equals compares object values by the live object they resolve to, so two unresolved references (any two, before Play) would read as equal and an actor picked in Details as "still the default".
AActor*ResolveActorThe live actor an Object value names in world, or null.
VisualScriptValueMakeActorRefAn Object value that names actor by its stable id.

Function details

ToMdf

C++
static MDF::MdfValue ToMdf(const VisualScriptValue& value, const FScriptVariableMeta* meta = nullptr)

Containers become MDF arrays (a map: an array of [key, value] pairs). An Object value writes its reference: "actor:<uuid>" for a placed actor (a live object is encoded through its backing entity), the asset path as a typed asset reference when the variable is an asset reference.

FromMdf

C++
static VisualScriptValue FromMdf(const MDF::MdfValue& mdf, FMValueType type, VisualScriptContainer container = VisualScriptContainer::None)

WriteOverrides

C++
static bool WriteOverrides(const IScriptVariableHost& host, MDF::MdfNode& node)

The overrides of a host (values that differ from their declared default) into node, and back. Unknown keys on read are skipped.

ApplyOverrides

C++
static void ApplyOverrides(IScriptVariableHost& host, const MDF::MdfNode& node)

SameValue

C++
static bool SameValue(const VisualScriptValue& a, const VisualScriptValue& b)

Value equality for script variables: VisualScriptValue::Equals compares object values by the live object they resolve to, so two unresolved references (any two, before Play) would read as equal and an actor picked in Details as "still the default". References compare by what they name.

ResolveActor

C++
static AActor* ResolveActor(const VisualScriptValue& value, MWorld* world)

The live actor an Object value names in world, or null.

MakeActorRef

C++
static VisualScriptValue MakeActorRef(const AActor* actor)

An Object value that names actor by its stable id.

Generated from Game/ScriptVariableHost.h via game.json · Nov 5, 2026Version 1.0.0