why doesn't this script work??? *PLZ*HELP*ME*!!!*
it doesn't help!!!
this was my last mssg:
:: : dink won't die with this script (hey, a new God Mode!), it is the normal dinfo.c from dink\story.
:: : the bold things are the things i've added to the script...
:: : if dink's life is 0, this script won't run. so dink doesn't die.. and, fade down and up won't work with me... weird.
:: Okay, first of all, what's this on the first line? There's at least 3 things wrong with it. I assume that happened when you copied it here, but if not... no wonder it won't run.
:: : sp_kill_wait(, 0);void die( void );
:: : {
:: : freeze(1);
:: : &update_status = 0;
:: : int &mholdx = sp_x(1,-1);
:: : int &mholdy = sp_y(1,-1);
:: : }
:: And why do you close the curly brace here? You want the rest of the script to run too, don't you?
:: : //int &crap = create_sprite(&mholdx,&mholdy,5,436,1);
:: : sp_seq(1, 436);
:: : sp_base_idle(1, -1);
:: : wait(3000);
:: : sp_nohit(1, 1);
:: : sp_brain(1, 0);
:: : wait(1000);
:: : fade_down();
:: : wait(2000);
:: : script_attach(1000);
:: : &player_map = 33;
:: : load_screen(33);
:: : draw_screen();
:: : fade_up();
:: : again:
:: : choice_start();
:: : "Restart game"
:: : "Quit to Windows"
:: : choice_end();
:: : if (&result == 1)
:: : {
:: : sp_nohit(1, 0);
:: : restart_game();
:: : }
:: : if (&result == 2)
:: : {
:: : kill_game();
:: : }
:but dink doesn't freeze... nothing! the whole void die( void ) doesn't work!!!
PLZ HELP ME!
this was my last mssg:
:: : dink won't die with this script (hey, a new God Mode!), it is the normal dinfo.c from dink\story.
:: : the bold things are the things i've added to the script...
:: : if dink's life is 0, this script won't run. so dink doesn't die.. and, fade down and up won't work with me... weird.
:: Okay, first of all, what's this on the first line? There's at least 3 things wrong with it. I assume that happened when you copied it here, but if not... no wonder it won't run.
:: : sp_kill_wait(, 0);void die( void );
:: : {
:: : freeze(1);
:: : &update_status = 0;
:: : int &mholdx = sp_x(1,-1);
:: : int &mholdy = sp_y(1,-1);
:: : }
:: And why do you close the curly brace here? You want the rest of the script to run too, don't you?
:: : //int &crap = create_sprite(&mholdx,&mholdy,5,436,1);
:: : sp_seq(1, 436);
:: : sp_base_idle(1, -1);
:: : wait(3000);
:: : sp_nohit(1, 1);
:: : sp_brain(1, 0);
:: : wait(1000);
:: : fade_down();
:: : wait(2000);
:: : script_attach(1000);
:: : &player_map = 33;
:: : load_screen(33);
:: : draw_screen();
:: : fade_up();
:: : again:
:: : choice_start();
:: : "Restart game"
:: : "Quit to Windows"
:: : choice_end();
:: : if (&result == 1)
:: : {
:: : sp_nohit(1, 0);
:: : restart_game();
:: : }
:: : if (&result == 2)
:: : {
:: : kill_game();
:: : }
:but dink doesn't freeze... nothing! the whole void die( void ) doesn't work!!!
PLZ HELP ME!