Re: I need help with changing the sequence of a sprite
Okay, what I want is to have the sprite walk up to Dink, and I've got that. (These are custom made graphics too, note.) Then I want the sprite to (this is all in one cutscene) change to its hitting sequence. But, after he hits, I want him to go back to the normal seq. So, how do I do it? sp_seq(#, #);? I tried that, and it doesn't work.
I'm not sure this will help, but you can try using sp_pseq, instead of sp_seq.
I also tried that. I used sp_pframe to play the seq instead, but that didn't work either.
Use sp_seq(¤t_sprite,0); to terminate the animation, or let it play through before changing the sequence. Should look something like this:
sp_seq(¤t_sprite,102);
sp_frame(¤t_sprite,1);
wait(250);
sp_seq(¤t_sprite,0);
sp_pseq(¤t_sprite,12);
sp_pframe(¤t_sprite,1);
sp_seq(¤t_sprite,102);
sp_frame(¤t_sprite,1);
wait(250);
sp_seq(¤t_sprite,0);
sp_pseq(¤t_sprite,12);
sp_pframe(¤t_sprite,1);
Okay, I'll try that, thanks. But why sp_pseq(¤t_sprite, 12);? What makes you think the sequence is 12?