Hello there. I am working on a project and one of the moves I had initially conceptualized was a move that would apply stun to both the enemy and the user at the same time. I do have a way to apply them both, but what puzzles me is making the states tied together -- example being, when either person stunned is hit both stuns are removed at the same time. This would require them to tied together in some way.
Is there a way to make states tied together? Like a parent state and a child state is applied, where the child states are dependent on if the parent state is still there? I would also like to replicate this for allies too, like a leader character giving every other ally a state that gets removed upon the leader being hit. Is there a script for this out there, or perhaps could I replicate it myself without any scripts? Any help is appreciated! 😍
Is there a way to make states tied together? Like a parent state and a child state is applied, where the child states are dependent on if the parent state is still there? I would also like to replicate this for allies too, like a leader character giving every other ally a state that gets removed upon the leader being hit. Is there a script for this out there, or perhaps could I replicate it myself without any scripts? Any help is appreciated! 😍