Grab holding time

afhc2x17

Active member
Hi again, I'm trying to use counter attacks for the enemies of my mod and here's my question:

Is there a way to control the holding time of a player grab (default seems to be 1 sec. between enemy's GRABBED and SPECIAL) before the enemy decides to perform SPECIAL on the player? Or it is hardcoded into the engine? if it is, someone knows a script to do something to extend the hold? Thanks anyway.
 
yea if i remember correctly it is hardcoded, there is no command to set time before enemy perform special when grabed, may be it could be accesible by script, though you would have to wait for someone with more knoledge to post about
 
Sorry, I meant to answer this and forgot. Yes, enemy special time is hardcoded. There are a couple of ways to override it though. One of the simplest is to is to give the enemy's special an energycost, and then apply a short term seal effect to it when grabbed. AI controlled entities follow the same special rules you do, so that will prevent them from using specials.

DC
 
i faced the same problem back then when i started, time window for performing grabattack1 and 2 is very narrow, if the special itself doesnt serves you purpose otter than freeing enemy from grab, you are better of removing it all together, you can then spawn an invisible enemy entity on the last frame of grabbed anim of your enemy and set the delay/timer you want. the spawned entity hits you( directly put attack on grabed, doesnt work) and thus breaking the grab

example:

enemy
anim grabbed
loop 0
delay 8
offset 33 132
bbox 10 5 30 87
frame data/chars/cyberm/5000-0.png
frame data/chars/cyberm/5000-10.png
delay 48
frame data/chars/cyberm/5000-20.png
@cmd spawnAni "effe" 0 0 0 "ANI_Follow10" 
frame data/chars/cyberm/5000-20.png

EFFE entity
anim follow10
loop 0
hitflash eflash
hitfx empty
delay 1
offset 3 29
frame data/chars/misc/empty.gif
attack -23 30 88 59 0 0 0 0 20 0
frame data/chars/misc/empty.gif
@cmd freeself 1
frame data/chars/misc/empty.gi
 
sorry about my last post, the timer method i posted desnt work well with more than 1 grabattack.
an otter way of gaining more time for grabattacks with out deleting special, is seting long pausetime on the attacks box, that way it is easier to imput  the entire grabattack1 and 2 sequence before enemy special.
 
Back
Top Bottom