Solved Need help with fall recovery

Question that is answered or resolved.

ZVitor

Active member
I want to make char recovery from fall,
here his fall anim:
Code:
anim	fall
	loop	0
	offset	53 84
	delay	14
	landframe	3
	cancel	1 2 0 j freespecial14
	frame	data/chars/aquaman/g1.gif
	offset	44 52
	frame	data/chars/aquaman/g2.gif
	offset	44 44
	delay	500
	frame	data/chars/aquaman/g2.gif
	offset	67 21
	delay	10
	frame	data/chars/aquaman/g3.gif

and his freespecial14:

Code:
anim	freespecial14
	loop	0
	jumpframe	0 2 1 0
	landframe	6
	cancel	0 99 0 A freespecial3
	cancel	0 4 0 A3 freespecial5
	offset	26 65
	bbox	12 1 41 41
	delay	7
	@cmd	keymove 2 0.6
	frame	data/chars/aquaman/jw1.gif
	offset	36 73
	bbox	19 9 41 41
	frame	data/chars/aquaman/jw2.gif
	offset	43 81
	bbox	18 22 46 37
	frame	data/chars/aquaman/jw3.gif
	offset	18 85
	bbox	1 18 41 41
	frame	data/chars/aquaman/jw4.gif
	delay	5
	offset	50 88
	bbox	34 4 34 65
	frame	data/chars/aquaman/j2.gif
	offset	53 93
	bbox	40 9 30 74
	delay	555
	idle	1
	frame	data/chars/aquaman/j3.gif
	delay	9
	offset	49 83
	bbox	31 8 35 74
	idle	1
	sound	data/sounds/0pisada.wav
	frame	data/chars/aquaman/i1.gif

but char cant move after landing.
 
Zv, look at Blackcat or Tigra's fall animation at my mod. You need to add this at that freespecial :

@cmd changeentityproperty getlocalvar("self") "aiflag" "drop" 0
@cmd changeentityproperty getlocalvar("self") "aiflag" "falling" 0

Remember that animations aren't just different names. Many animations triggers several internal flags. FALL is one of those.
 
Back
Top Bottom