I have interactions where you have to hold the button to keep it running, if you release it, it stops.
My idea was to start an animation in DoInteract and stop it in AbilityStopped and set the StopType to ButtonUp.
The problem is, that it stops directly after starting the animation.
The lines of interest are
and
My modified version is attached:
My idea was to start an animation in DoInteract and stop it in AbilityStopped and set the StopType to ButtonUp.
The problem is, that it stops directly after starting the animation.
The lines of interest are
C#:
//The interactive will decide whether it stops or not.
m_InteractiveItem.InterruptInteraction();
and
C#:
interactions.interactInteraction.interactionDelegate.Invoke(character);
My modified version is attached: