Author Topic: How to make hero hurt while swimming  (Read 2658 times)

0 Members and 1 Guest are viewing this topic.

  • Newbie
  • *
  • Posts: 17
    • View Profile
How to make hero hurt while swimming
« on: June 13, 2018, 05:24:12 PM »
I'm trying to make it so the hero can get hurt while swimming, but whenever he is hurt he goes back to his not swimming animation. I tried making it so that when the state is changed to hurt and his animation was swimming he would instead use a swimming hurt animation but this didn't work.


  • Hero Member
  • *****
  • Posts: 1062
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: How to make hero hurt while swimming
« Reply #1 on: June 13, 2018, 08:52:17 PM »
This seems to me an engine limitation, or even a bug.
@Christopho: should we open an issue for this?

It is still doable in Lua with some event (on_animation_changed or on_state_changed).
“If you make people think they're thinking, they'll love you. But if you really make them think, they'll hate you.”