Hello everyone, I have a question that I don’t know how to solve. I need to add different attacks to an enemy (attack 01, attack 02, attack 03, etc.) and have them play in GM when the enemy attacks me. Is it possible? I’ve already tried with different behaviors, but I can’t make it work. Thanks
I’m pretty sure it’s still not possible to do in Game Maker what you’re trying to do.
However you can use some workaround, using maybe an Asset with the attack Behavior of your choice, and have a child of that asset changing to the animation you want, if it is close to the target to attack, this would be using the animated decoration behavior and switching between the different attacks as many times as you want.
You have two possible scenarios: the first, as @rocksymiguel suggested, and the second, making the same asset with different animations"attack01": for each. and switching between these assets "with replace asset parent, “according to your scenario of the Game”
Did I understand correctly - you want to have a different attacks according shortcuts? Like in “Mortal Combat” for example
Thanks for the responses, I’m going to run some tests to see if it works.