(fixed) Layer display (out of @cmd position)

NED

Well-known member
I created one more custom slam (a back breaker move)
This one uses a freespecial (42) and works this way:
first attack box (attack31) send enemy to a pain anim (to imobilize him)
During this time, player "slide" in enemy's back in a rapid animation (frames 2,3,4,5), then stop on enemy's back to start properly the slam (@cmd    slamstart)

l7fk.jpg


As you can see the "slide" anim is displayed in front of P2 because for easier binding I don't use "@cmd position" a this moment.

Is there a way to fix it?
This is the full code of the move.
Thanks

Code:
anim	freespecial42#back breaker (Hard attack FWD)
	damageonlanding 0 1#l'enemi peut faire des indirect damage
	jugglecost	2#3
	attackone	1#0
	loop	0
	offset	96 177
	bbox	0 0 0 0

	subentity	flashshort
	spawnframe	8 1 3 40 0#{frame} {x} {z} {a} {relative}
	#9 8 3 41 0#8 -12 3 20 0#

	delay	5#9

	hitfx	data/sounds/empty.wav
	hitflash      noflash
	grabin 1 40
	attack31   99 79 61 41 0 0 1 1 0 0#grab hit (TRICHER!!)
	nokill 1
	frame	data/chars/rachel/bbreak4.gif

	delay	8#1#(deplacement)
	move	25#15#10
	attack31	0 0 0 0 0 0
	frame	data/chars/rachel/bbreak4.gif
	delay	5##6#7#5#10#30
	move	20#10
	frame	data/chars/rachel/bbreak1.gif
	delay	6#5#6#5#10#30
	move	20#10
	frame	data/chars/rachel/bbreak1.gif
	delay	7#6#4#10#30
	move	20#10
	frame	data/chars/rachel/bbreak2.gif


        @cmd    slamstart#2


	delay	13#5#7#10
	move	0
        @cmd    position 1 -60 0 0 1
	frame	data/chars/rachel/bbreak2.gif#arme le coup


	delay	8#2#4
        @cmd    position 22 0 0 1 1 
	sound	data/chars/rachel/kiai5.wav
	frame	data/chars/rachel/bbreak3.gif

        @cmd    position 23 0 0 1 1
	sound	data/sounds/strangle2.wav
	frame	data/chars/rachel/bbreak4.gif

	delay	14#16#14#9
        @cmd    position 24 0 0 1 1
	frame	data/chars/rachel/bbreak5.gif#knee


	delay	7#5
        @cmd    position 24 4 8 1 1# enemi remonte et bouge un peu
	frame	data/chars/rachel/bbreak6.gif


	delay	5#6#7
	@cmd   depost 0
        @cmd    finish 40 1 1.9 1.7 0 1
#        @cmd    throw 40 4 -1.7 1.7 0 0
	frame	data/chars/rachel/bbreak6.gif

	delay	17#16
	offset	96 177
	frame	data/chars/rachel/bbreak7.gif

	delay	18#9
	offset	95 177
	frame	data/chars/rachel/bbreak8.gif
 
Back
Top Bottom