The Dink Network

Reply to Re: As always... Problems

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:
 
 
April 5th 2006, 01:21 AM
duckdie.gif
Well, then &speech is a problem too. Try doing like Strikers script, witht he tect string rather than variables. Now as far as making him walk, you need to set a base_walk for the sprite in its main procedure. I don t know what sprite you are using, so I'll just give an example. Say you want to use the green merchant sprite that is facing down-left. The sequence is 381, so the base_walk is 380. To get the basewalk you round down by tens. So 457 would have a base_walk of 450...162 would be 160...etc.

void main(void)
{
sp_base_walk(&current_sprite, 380);
sp_speed(&current_sprite, 1);
sp_brain(&current_sprite, 16);
}

The brain is important. Brain 16 is a smart person brain. It enables the sprite to walk around, stop, look around.