The Dink Network

One last...

June 4th 2003, 04:34 PM
pillbug.gif
I am really sorry for asking you so many questions, but I just want to thank ya for answering them, I know a few boards where they'd kick me out if I ever joined em again. One last question though, why won't this stupid script work!! I've been working on it for two days!! The problem is, after moving once, the mom won't move for the second time!! Please help, and get ready for Forgotten Memories 1: Oh, you
June 4th 2003, 04:35 PM
pillbug.gif
//Help, please!

wait(200);
say_stop("Mom.. I'm Blink",1);
wait(200);
say_stop("`6Are you sure... Oh yeah, you",&mom);
wait(200);
say_stop("`6BUT SEE WHAT DINK DID!!",&mom);
wait(200);
say_stop("Mom, what about my accomplishments?",1);
wait(200);
say_stop("Dink is all you talk about!",1);
wait(200);
say_stop("`6Oh, sure, what did you do?",&mom);
wait(200);
say_stop("Well I was vo..",1);
wait(200);
say_stop("`6That's great, I'm gonna see what Dink did!",&mom);
waiT(200);
say_stop("Well.. bye mom! I love you!",1);
wait(200);
move_stop(&mom, 2, 287, 1);
sp_dir(&mom, 9);
wait(200);
say_stop("`6Whatever",&mom);
wait(200);
move_stop(&mom, 4, 282, 1);
wait (800);
say_stop("I'll do something important for you mom, I swear on it.",1);
unfreeze(1);
say_stop("I know! I'll get some firewood, work up!",1);
}
June 4th 2003, 04:41 PM
old.gif
What happens if you replace sp_dir(&mom, 9) with sp_dir(&mom, 6);
June 4th 2003, 04:49 PM
spike.gif
Hmm.. Only possible thing making the second move_stop command not to work that I can think of right now is, that the mom is placed on the screen in a spot less than 282...
June 4th 2003, 04:55 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
move_stop(&mom, 4, 282, 1);

So Dink is at a current x position greater than 282, right? The '4' tells the engine to move &mom to the left. If &mom is already left of 282, it can't move.

In case you don't know what the '4' actually does, look at the numpad on your keyboard (usually on the right, with the number keys in a rectangular configuration). If you consider 5 to be the center, 4 is left, 2 is down, 8 is up, and so on.

Edit: Dang, scratcher beat me to it
June 4th 2003, 05:02 PM
pillbug.gif
Thanks!
June 4th 2003, 06:33 PM
pillbug.gif
Oh and um..

how to kill it?

Sorry!
June 4th 2003, 06:35 PM
old.gif
To kill a sprite:

sp_kill(&sprite, time_delay);

example:

sp_kill(&mom, 1);

kills &mom in 1ms
June 4th 2003, 06:36 PM
pillbug.gif
Thank you!
June 5th 2003, 09:53 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
Hey, no need to be sorry every time you post, I mean, we're here to help, we WANT you to ask questions, that keeps us busy. So you don't have to be sorry to ask a question. Yeah, I've made my point now, no more reason to continue writing...