Page MenuHomeFeedback Tracker

Issue with OnEndAnimationLoopServer not calling correctly.
Assigned, NormalPublic

Description

HI,

I have found an issue with continuous actions not correctly calling 'OnEndAnimationLoopServer' in all cases. I have found that when performing an action, if the player was to start sprinting mid action then 'OnEndAnimationLoopServer' will not execute.

modded class ActionSawPlanks
{
	protected void OnEndAnimationLoopServer( ActionData action_data ) //method called on finish main animation loop (before out animation part )
	{
		m_Planks = NULL;
	}
};

I have as an example below where I have added this code that should make it so that a new plank pile should be created each time the user starts this 'ActionSawPlanks'. You can see in the video that the first time when I allow the finish animation to play normally, when I start sawing again it will create more planks in a seperate pile. But when I sprint instead of letting the finish animation play normally the planks continue to be added to the original pile again showing that this issue with 'OnEndAnimationLoopServer' is present.

https://medal.tv/games/dayz/clips/21d3N2Qmv00N3o/d13371VMp2yz

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
Scripting
Steps To Reproduce

When performing a continuous action, start sprinting mid way through the animation being performed. This will cancel the animation and will also skip the OnEndAnimationLoopServer function call.

Event Timeline

Dannydoomno1 updated the task description. (Show Details)
Geez changed the task status from New to Assigned.Mar 18 2024, 10:15 AM