Model wont animate

Blitz3D Forums/Blitz3D Beginners Area/Model wont animate

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

dang that was stupid of me...

Ok this code will change the animation and loop it until the bracket key is hit again...
	If KeyHit(27)
		If Walk = 0 
			Animate mesh_3ds,1,1,1
                        Walk = 1
		ElseIf Walk = 1 
			Animate mesh_3ds,1,.5,0
                        Walk = 0
		EndIf
			
	EndIf


This code will also switch the animation, as evidenced in my text output of animlength(), animtime(),animseq(), and animating() (animating shows 1 by the way) but the model is not animating!! lol, I cant grip this!
	If KeyHit(27)
		If Walk = 0 
			Walk = 1
		ElseIf Walk = 1
			Walk = 0
		EndIf
			
	EndIf
	
	If Walk = 1 Then Animate mesh_3ds,1,1,1
	If Walk = 0 Then Animate mesh_3ds,1,.5,0