get_attribute_value
Read one attribute (current value, base value, or attribute set) from an actor's ability system component in Unreal Engine. Returns found=false for unknown attributes.
Instructions
Read one attribute from the attribute sets registered on an editor-world actor ability system component: value (current, modifiers included), base_value and attribute_set. Read-only; an unknown attribute is not an error but found=false. get_attributes lists every attribute.
Returns: { actor_name, attribute_name, found, value, base_value, attribute_set }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Object name (not the label) of the editor-world actor, e.g. "BP_Hero_C_1", matched case-insensitively; find_actors_by_name maps labels to names | |
| attribute_name | Yes | Attribute name ("Health") or "SetClass.Attribute" ("MyAttributeSet.Health"), case-insensitive; the first registered attribute that matches wins |