SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
85 stars 18 forks source link

Possible to include punching with Player.animator.onGestureUpdated? #1927

Closed Eiromplays closed 1 year ago

Eiromplays commented 4 years ago

Hello, just wondering if it would possible to make punching registered using the onGestureUpdated event. It would save me some time and I am sure it would save other people some time as well.

SDGNelson commented 4 years ago

What did you want to use the event for, e.g. to cancel punches? At the moment that gesture is only used to play the animation for all players

Eiromplays commented 4 years ago

I am using OpenMod and at the moment they have no gesture event included, I know rocketmod has a gesture event included but yeah. I am working on a plugin, so that is mainly why I need it, so I can do stuff when the player punches and looks at something

SDGNelson commented 4 years ago

Fair enough.