dantedevil
Well-known member
Hello!
I create a few special grabs, air grabs and ground grabs in freespecials.
The grabs works perfect, the only problem is heros grab items like an enemy.
Haw can avoid this?
I have a script courtesy of Bloodbane to avoid grab Bosses. Its possible change this script to avoid grab this bosses and items?
Here the script:
I create a few special grabs, air grabs and ground grabs in freespecials.
The grabs works perfect, the only problem is heros grab items like an enemy.
Haw can avoid this?
I have a script courtesy of Bloodbane to avoid grab Bosses. Its possible change this script to avoid grab this bosses and items?
Here the script:
Code:
void cancelgrab()
{// Check grabbed opponent's name
// If it's forbidden to grab him/her, revert to IDLE
void self = getlocalvar("self");
void target = getlocalvar("Target" + self);
if(target==NULL())
{
target = getentityproperty(self, "opponent");
setlocalvar("Target" + self, target);
}
if(target!=NULL())
{
char Tname = getentityproperty(target, "defaultname");
if(Tname == "Goro" || Tname == "Kintaro" || Tname == "Motaro" || Tname == "Kimokahn")
{
setidle(self);
}
}
}