The Dink Network

Reply to How will Dink lose weight?

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:
 
 
June 22nd 2005, 10:17 AM
dragon.gif
How will Dink lose weight if he can't move?

i've made a script that dink talk with two shack (well, it's schack on swedish, you know, a white-black table with a lot of figures...) playing knights, and he shall move in one part of it, when i wrote in the code for him to move (found in rudiments of scripting) he just held his position and said the rest... it became a useless script...

here's the script...

void main(void)
{
freeze(1);

int &knight2 = create_sprite(328, 259, 0, 400, 1);
sp_base_walk(&oldman, 400);
sp_speed(&oldman, 0);

int &knight1 = create_sprite(272, 298, 0, 300, 1);
sp_base_walk(&oldman, 300);
sp_speed(&oldman, 0);
}
if (&madgame == 0)

say_stop("now where is the king?", 1);
wait(500);
say_stop("`6ahahah! schack mate, old friend!", &knight1);
wait(200);
say_stop("`2no.", &knight2);
wait(200);
say_stop("`6why?", &knight1);
wait(200);
say_stop("`6my rider is at your king!", &knight1);
wait(200);
say_stop("`2because my queen has a MG 42 in her bag", &knight2);
wait(200);
say_stop("`2and she slaughter all your pieces!!", &knight2);
wait(200);
say_stop("`6you did the same thing on monopoly!", &knight1);
wait(200);
say_stop("`2and?", &knight2);
wait(200);
say_stop("`6you are hopeless...", &knight1);
wait(200);
say_stop("`6hey you!", &knight1);

\\here, i want dink to move to theese coordinates: x=337 y=301

say_stop("who, me?", 1);
wait(200);
say_stop("`6can you get a new game for us?", &knight1);
wait(200);
say_stop("`6this is really boring!", &knight1);
wait(200);
say_stop("how!? we are in a castle, in the middle of nowhere!", 1);
wait(200);
say_stop("`6well, try to, many guys around here have games...", &knight1);
wait(200);
say_stop("i can at least try...", 1);
&madgame = 1

unfreeze(1);
}
if (&madgame == 1)
say_stop("`6i will never play thing with you anymore...", &knight1);
wait(200);
say_stop("`2as i care...", &knight2);
wait(200);
}
}

can someone tell me how to do it? (don't say "check rudiments of scripting"!)