Jump to content

Stuck figuring out how to call a tool animation


Recommended Posts

How can I make the player trigger a specific animation sequence like digging with the shovel or chipping with the pickaxe?  Im trying to polish my rabbit hole mod so that when deploying a rabbit to make a new hole the player must have a shovel equipped (working), the shovel consumes one use (working), and it looks like the player digs the hole (cant figure out).

Link to comment
Share on other sites

You'll need to put the player into the digging state via its stategraph like this:


This should trigger the sequence of animations as it does when digging a whole, I hope it works. You can find all states available in "SGWilson.lua" in the "stategraphs" folder.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

  • Create New...