There does not appear to be any bug here in the code. However, if idle is desired after the event, then it may be necessary to reset the motion on the Trajectory Generator by calling the ResetMotion function on the MxMAnimator or the RestMotion function on the trajectory generator.
I've also now included a new function "ForceExitEventToIdle()" which will ensure that the character goes to idle immediately after when cancelling the event this way.
There does not appear to be any bug here in the code. However, if idle is desired after the event, then it may be necessary to reset the motion on the Trajectory Generator by calling the ResetMotion function on the MxMAnimator or the RestMotion function on the trajectory generator.
I've also now included a new function "ForceExitEventToIdle()" which will ensure that the character goes to idle immediately after when cancelling the event this way.