The Dink Network

Some more questions

October 21st 2003, 02:49 PM
peasantmg.gif
Raven
Peasant He/Him Sweden
 
When you want an sprite to stand 'idle' when having an conversation with another sprite, what should you write in the script and in the ini file? (so it moves). I have painted the sprite myself.

Is there any parameter that tells how fast the sprites should be change in the idle mode?

And how do I change from one 'idle' mode to another mode. Right now, I have two series, each consists of 8 sprites. I want to switch between those in the conversation.

October 21st 2003, 11:30 PM
wizardg.gif
Paul
Peasant He/Him United States
 
I'm assuming you've already got the sequences loaded, so they show up in the editor. If not tell me and I can back-track.
The simplest way to go would be:
sp_brain(&current_sprite, 6);
sp_seq(&current_sprite, X);
where X is the idle sequence. Just make sure to change it back to whatever brain it normally has, if it's supposed to move around. I think that shuold do it, unless there are complicating factors.
October 22nd 2003, 02:00 AM
peasantmg.gif
Raven
Peasant He/Him Sweden
 
Thanks! It wasn't so hard I thought it would be. But now, I have another question
: The text the sprite is saying is put out on the screen all to far above the sprite. Is there any way you could change this? (and still not use say_xy, but the say_stop command?)

I have got your spell check program, but I had'nt tested it yet.
October 22nd 2003, 05:29 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
You could place an invisible sprite a bit down from the original and let him say the text.

If the problem with the say_xy is that the sprite can be at every position on the screen, you must find a link between 'sprite-coords' and 'say_xy-coords' And MAN that's difficult.
October 22nd 2003, 09:13 AM
peasantmg.gif
Raven
Peasant He/Him Sweden
 
I use an invisible sprite instead, works fine, thanks!