I'm trying to make an ability that goes like this: Actor retains an enemy with their whip. During this state, nor the enemy nor the actor can act, and if the actor or the enemy receive any damage, the state will be off.
Thing is I don't know how to make the state "syncronize" between the actor and the enemy...
Making the state is easy: Just a inmovilize state... The thing is that I cannot figure how to remove the state for both when either of them are damaged.
Any ideas?
Thing is I don't know how to make the state "syncronize" between the actor and the enemy...
Making the state is easy: Just a inmovilize state... The thing is that I cannot figure how to remove the state for both when either of them are damaged.
Any ideas?