I was wondering if there was a way to set the hero's state? All I noticed in the documentation was hero:get_state().
Sometimes the hero gets stuck on a certain state in my scripts and something like the following would be useful.
Sometimes the hero gets stuck on a certain state in my scripts and something like the following would be useful.
Code ( lua) Select
hero:set_state("free")