The Dink Network

Reply to Re: Question: How to change a sprite?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 24th 2005, 04:16 PM
spike.gif
Please be a little more specific? I'm not sure what exactly you mean. If you like to make Dink run a seq you should do like this:

sp_seq(1, #seq);
sp_frame(1, 1);
if Dink is unfreezed when you do it you propably want this too:
sp_nocontrol(1, 1);

EDIT: Oh now I *think* I see what you mean.
sp_pseq(&current_sprite, #seq);
sp_pframe(&current_sprite, #frame);
if you want to make it stay that way without wasting globals something like this should work:
editor_type(&current_sprite, #type);
editor_seq(&current_sprite, #seq);
editor_frame(&current_sprite, #frame);