The Dink Network

Reply to Re: button

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:
 
 
November 19th 2005, 09:53 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
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