📧 Message Board Archive

I don't own a map yet?
every time I play dink or any d-mods I get the message "I don't own a map yet" which comes from pressing tab (button 6) the only script that says "I don't own a map yet" is the following script but I see nothing wrong with it.



void main ( void )

{

//player map



if (&s2-map == 0)

 {

  say("I don't own a map yet.",1);

  kill_this_task();

  return;

 }



show_bmp("tiles\map1.bmp", 1, 0);

kill_this_task();



}



it is named button6.c which as far as I know will make it run only when you hit tab (button 6).

has anyone else had this problem or does anyone know what might be causing it. any help is appreciated, thanks.
Re: I don't own a map yet?
well &s2-map needs to equal something besides 0. you could edit the script to this:



void main ( void )

{

//this is a map

show_bmp("tiles\map1.bmp", 1, 0);

kill_this_task();

}



i dont know, like that.