Reply to Re: button
If you don't have an account, just leave the password field blank.
Well, you asked for a buttonscript to show the map on the screen. And in the first line of my reply to carrie's post, it says that the button6.c works fine. Therefore:
button6.c:
void main(void)
{
if (&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();
}
is what you need. You could of course change the &map variable and the map would need to be a 640*480 bmp in the Tiles directory. That's all
Strictly, the other script isn't needed so you can just use button6.c for the M-button
button6.c:
void main(void)
{
if (&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();
}
is what you need. You could of course change the &map variable and the map would need to be a 640*480 bmp in the Tiles directory. That's all

