add_anim_notify_name
Register a notify name in a USkeleton's AnimationNotifies list, with undo and package saving. Handles existing names and missing paths.
Instructions
Register a notify name in the AnimationNotifies list of a USkeleton inside an undo transaction and save the skeleton package; returns present, notify_count and saved. A name already registered is a success with added=false, already_existed=true and saved=false, and the skeleton is neither modified nor saved. Without skeleton_path it edits /Engine/EngineMeshes/SkeletalCube_Skeleton. A failed save makes success false, with saved=false and save_error.
Returns: { skeleton_path, notify_name, present, added, already_existed, notify_count, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify_name | Yes | The notify name to register (e.g. 'Footstep'). | |
| skeleton_path | No | Asset path of the USkeleton to edit (/Game/...); when omitted or empty the engine asset /Engine/EngineMeshes/SkeletalCube_Skeleton is edited and saved. |