I made an animation in milkshape and in blitz I want the animation to play 3 or for times and then stop until the player collides with it and then play 3 or 4 times again.
So far all I can get is
if the player collided then the animation does not play
or
if the player collided then the animation plays forever
What is a way to get it to play 5 times then stop?
So far all I can get is
if the player collided then the animation does not play
or
if the player collided then the animation plays forever
What is a way to get it to play 5 times then stop?
If EntityCollided(player,2) Then strike=1 ;St=0 EndIf If strike=1 Then PointEntity Sting,camera PointEntity Sting2,camera PointEntity Sting3,camera Animate Sting,3,.4,0,10 Animate Sting2,3,.6,0,10 Animate Sting3,3,.5,0,10 ;Animate Sting,1,.4,0,10 ;Animate Sting2,1,.6,0,10 ;Animate Sting3,1,.5,0,10 EndIf strike=strike-1 If strike < Rnd(-200,-660-Rnd(-1,100)) strike=2 ;If strike=2 Then ;Animate Sting,0,.4,0,10 ;Animate Sting2,0,.6,0,10 ;Animate Sting3,0,.5,0,10 ;St=0 ;EndIf