Reply to Re: moving the bed..........
If you don't have an account, just leave the password field blank.
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(¤t_sprite, 1);
int &mydir;
if(&rock_placement = 1)
{
sp_y(¤t_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(¤t_sprite, 8, 89, 1);
unfreeze(1);
draw_hard_map();
&rock_placement = 1;
return;
}
say("It won't budge from this angle.", 1);
}
please help???????????
The script:
void main( void )
{
sp_speed(¤t_sprite, 1);
int &mydir;
if(&rock_placement = 1)
{
sp_y(¤t_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(¤t_sprite, 8, 89, 1);
unfreeze(1);
draw_hard_map();
&rock_placement = 1;
return;
}
say("It won't budge from this angle.", 1);
}
please help???????????