The Dink Network

Reply to Re: moving the bed..........

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:
 
 
August 4th 2006, 05:00 PM
milder.gif
ok, this one works but the bed doesn't stay on the place where it has been pushed to. So what is wrong.

The script:

void main( void )
{
sp_speed(&current_sprite, 1);
int &mydir;

if(&rock_placement = 1)
{
sp_y(&current_sprite, 89);
draw_hard_map();
}

}

void push( void )
{

if (&story < 25)
{
say_stop("I am not ready yet.", 1);
return;
}

&mydir = sp_dir(1, -1);

if (&rock_placement == 0)
{
//bed is over hole

if (&mydir == 8)
{
say("Let's push this thing.", 1);
freeze(1);
move_stop(&current_sprite, 8, 89, 1);
unfreeze(1);
draw_hard_map();
&rock_placement = 1;
return;
}

say("It won't budge from this angle.", 1);

}

please help???????????