Toranks
Active member
Is there a way to keep the same target once the slamstart starts and until it ends?
There are a couple of bugs in a lot of grabs that I don't know how to solve and they are related to changing the target/opponent.
One of them is when I grab an enemy and progressively hurt him with the 'hurt' script, if in the middle of that grab I hit a third enemy, this third enemy is the one that receives the damage from hurt, and not the one I have grabbed.
Another bug, more problematic, is if an enemy grabs me and with that grab hits another player. The same thing happens, the other player receives the damage even though I am still in the grab, and also the release script (allows release by pressing all buttons quickly), switch players and go to the other player. And to make it even more complicated, if the hitted player presses the release buttons and succeeds, the original player is frozen and glued to the enemy.
I want to find a way that "opponent" and "target" with getentityproperty and getlocalvar do not change from slamstart to finish / throw, even if they hit third enemies, both for the player and for the enemy.
There are a couple of bugs in a lot of grabs that I don't know how to solve and they are related to changing the target/opponent.
One of them is when I grab an enemy and progressively hurt him with the 'hurt' script, if in the middle of that grab I hit a third enemy, this third enemy is the one that receives the damage from hurt, and not the one I have grabbed.
Another bug, more problematic, is if an enemy grabs me and with that grab hits another player. The same thing happens, the other player receives the damage even though I am still in the grab, and also the release script (allows release by pressing all buttons quickly), switch players and go to the other player. And to make it even more complicated, if the hitted player presses the release buttons and succeeds, the original player is frozen and glued to the enemy.
I want to find a way that "opponent" and "target" with getentityproperty and getlocalvar do not change from slamstart to finish / throw, even if they hit third enemies, both for the player and for the enemy.