EDIT: Please disregard, I had called the mesh incorrectly in the widget BP so the montage was not displaying
Hello. I wanted to add an animation trigger to the dialogue system, so i tried to add an animation sequence option and an animation montage option.
In Dialogue.h I i added:
class UAnimSequence* AnimationSequence = nullptr;
class UAnimMontage* AnimationMontage = nullptr;
In DialoguePluginEditorSettingsDetails.cpp I added:
const TSharedPtr<IPropertyHandle> AnimationSequence = Child->GetChildHandle("AnimationSequence");
const TSharedPtr<IPropertyHandle> AnimationMontage = Child->GetChildHandle("AnimationMontage");
CurrentNodeCategory.AddProperty(AnimationSequence);
CurrentNodeCategory.AddProperty(AnimationMontage);
In DialogueViewportWidget.cpp I added:
#include "Animation/AnimSequence.h"
#include "Animation/AnimMontage.h
Possibly one or two more lines of code, but that is not the point. This all works fine and gives me the ability to select either a montage or a sequence.
The problem i am having is that it does not seem to trigger. No error messages, it just does nothing. I know little about programming, and less about c++. I just hacked my way to this point. Any insight is appreciated. Thank you.