Solved Set cantgrab in specific animation

Question that is answered or resolved.

dantedevil

Well-known member
I have a problem with a specific animation of Batman.
In one of their move he freeze the enemy into an ice cube.
The problem is Batman can grab the enemy through the ice cube.
So I set in the ice cube a plataform, this way no one can grab the enemy.
The ice cube has bbox and set attack boxes to damage only enemies, and during a specific time, until finally break.
So when the ice cube dies hit the enemy into them.
The problem of this method comes when other enemy is close when Batman spawn the icecube, because he get trapped into the icecube with the frozen enemy.

So I think to solve this, the solution is create a pain animation when the enemy can't be grabbed, even via script. Only can be hitted.
 
Last edited:
Works perfect my friend,  thanks!

Hey maggas you've tried the demo of my mod?
Let me know what you think.
You know I'm fan of your work,  so your feedback is important to me.
 
I think you should work in your ice code, not on the enemy code. The ice should break if it detects that the caller (the enemy) isn't in a specific pain animation. Because CANTGRAB doesn't works for scripted throws (unless you add it to the code).

So when you have that double grab, it will grab the character inside the ice anyway.
 
So when you have that double grab, it will grab the character inside the ice anyway.

Not my friend,  I test with my double grab and works perfect.
Because my double grab have cancelgrab with obstacles and the pain animation has only 1×1 bbox.
So this way only when the ice is break can hit the freeze enemey.

Thanks anyway.
 
Back
Top Bottom