Changing Animation State with Dialogue Trigger Event
Posted: Mon Oct 17, 2022 6:26 pm
I want players to be able to interact with usable game objects and have the animation state be affected.
For example, they press C and the chest will go from closed to open.
I made a dialogue event and set it to trigger an animation state on use, but I don't know how to write that in the script.
Any help is appreciated, thank you.
For example, they press C and the chest will go from closed to open.
I made a dialogue event and set it to trigger an animation state on use, but I don't know how to write that in the script.
Any help is appreciated, thank you.