Reply to Yet another trivial problem... your going to have to start getting used to this... sory
If you don't have an account, just leave the password field blank.
Right, ive got a malfuctioning script, it quits to windows near the start. thanks for help.
void main(void)
{
freeze(1);
wait(400);
move_stop(1, 8, 230, 1);
stop_stop("-----------", 1);
move_stop(1, 8, 230, 1);
//crashes right here
wait(200);
say_stop("-----------------------------------------", 1);
move_stop(1, 8, 30, 0);
say_stop("---------------------------------------------------------------------------------------------------------", 1);
move_stop(1, 6, 400, 1);
say_stop("---------------------------------------------------------------------------", 1);
wait(100);
say_stop("--------------------------------------------------------", 1);
move_stop(1, 6, 520, 1);
say("---------------------", 1);
wait(100);
sp dir(1, 8);
wait(800);
sp dir(1, 6);
wait(400);
move_stop(1, 2, 250, 1);
wait(400);
playmidi("1.mid")
int &knight = create_sprite(520, 390, 16, 397, 1);
sp_base_walk(&knight, 240);
sp_speed(&knight, 1);
say_stop("`3-------------------", &knight);
Choice_start();
"------"
"-------------"
choice_end();
If(&result==1);
{
wait(200);
say_stop("`3------------" &knight);
move_stop(&knight, 8, 180, 1);
int &knight2 = create_sprite(520, 390, 16, 397, 1);
sp_base_walk(&knight2, 240);
sp_speed(&knight2, 1);
move_stop(&knight2, 8, 320, 1);
move(&knight, 6, 680, 1);
move(&knight2, 6, 680, 1);
move(&1, 6, 680, 1);
say("`7-----------------", &knight2);
wait(2000);
unfreeze(1);
}
}
Thanks again guys, and sorry if its a realy odvious problem, i'm so rusty i had to look up the move_stop procedure...
Thanks.
void main(void)
{
freeze(1);
wait(400);
move_stop(1, 8, 230, 1);
stop_stop("-----------", 1);
move_stop(1, 8, 230, 1);
//crashes right here
wait(200);
say_stop("-----------------------------------------", 1);
move_stop(1, 8, 30, 0);
say_stop("---------------------------------------------------------------------------------------------------------", 1);
move_stop(1, 6, 400, 1);
say_stop("---------------------------------------------------------------------------", 1);
wait(100);
say_stop("--------------------------------------------------------", 1);
move_stop(1, 6, 520, 1);
say("---------------------", 1);
wait(100);
sp dir(1, 8);
wait(800);
sp dir(1, 6);
wait(400);
move_stop(1, 2, 250, 1);
wait(400);
playmidi("1.mid")
int &knight = create_sprite(520, 390, 16, 397, 1);
sp_base_walk(&knight, 240);
sp_speed(&knight, 1);
say_stop("`3-------------------", &knight);
Choice_start();
"------"
"-------------"
choice_end();
If(&result==1);
{
wait(200);
say_stop("`3------------" &knight);
move_stop(&knight, 8, 180, 1);
int &knight2 = create_sprite(520, 390, 16, 397, 1);
sp_base_walk(&knight2, 240);
sp_speed(&knight2, 1);
move_stop(&knight2, 8, 320, 1);
move(&knight, 6, 680, 1);
move(&knight2, 6, 680, 1);
move(&1, 6, 680, 1);
say("`7-----------------", &knight2);
wait(2000);
unfreeze(1);
}
}
Thanks again guys, and sorry if its a realy odvious problem, i'm so rusty i had to look up the move_stop procedure...
Thanks.