I finally figured it out using the latest sexlab methodology.   This code allows you to trigger a function from a quest script which sets the starting stage of an animation to play and what stage you want the animation to end on.   You can fire this function from a dialogue line in a quest under papyrus fragments using this line:         Here is the function that gets fired from the script attached to the quest under scripts tab.