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.
Changing Animation State with Dialogue Trigger Event
-
- Posts: 60
- Joined: Thu Mar 24, 2022 12:07 am
Re: Changing Animation State with Dialogue Trigger Event
Hi,
It looks like you're almost there. Set the State field to ChestOpen:
It looks like you're almost there. Set the State field to ChestOpen:
-
- Posts: 60
- Joined: Thu Mar 24, 2022 12:07 am
Re: Changing Animation State with Dialogue Trigger Event
Glad to help!