The Dink Network

Reply to 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, 03:03 PM
milder.gif
When I push this bed from the east, west and north it also goes north. I don't want that.
But when I push it north it also goes north. That is what I want. I don't want it to move when it will be pushed east, west or north.

I am using this script:

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

if(&story > 25)
{
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 (&story >= 25)
{
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