Skip to content

Add events on animation starts#6382

Merged
PJB3005 merged 5 commits intospace-wizards:masterfrom
Ataman:animation-started-event
Jan 19, 2026
Merged

Add events on animation starts#6382
PJB3005 merged 5 commits intospace-wizards:masterfrom
Ataman:animation-started-event

Conversation

@Ataman
Copy link
Copy Markdown
Contributor

@Ataman Ataman commented Jan 17, 2026

Adds an AnimationStartedEvent fired by the AnimationPlayerSystem. It's set to broadcast in order to be consistent with the existing AnimationCompletedEvent.
Also gives Control an AnimationStarted event for consistency's sake as well.

The reason for this is to give content systems more awareness about animations and let them react to them if desired. Also, it feels right to have this given AnimationCompletedEvent is already available. Finally, it would be useful for my proposed Animation State Machine.

Comment thread Robust.Client/GameObjects/EntitySystems/AnimationPlayerSystem.cs Outdated
Comment thread Robust.Client/GameObjects/EntitySystems/AnimationPlayerSystem.cs Outdated
@Ataman
Copy link
Copy Markdown
Contributor Author

Ataman commented Jan 19, 2026

Thanks for reviewing, requested changes are in.

@Ataman Ataman requested a review from PJB3005 January 19, 2026 21:37
@PJB3005 PJB3005 merged commit 14b17af into space-wizards:master Jan 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants