Reply to Re: pushing things
If you don't have an account, just leave the password field blank.
If Dink is showing his push animation, things work just fine, but then it's the script. Here's an example push script:
void main( void )
{
int &mydir;
}
void push( void )
{
&mydir = sp_dir(1, -1);
if (&mydir != 6)
{
say("I can't push from this direction",1);
}
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
move_stop(¤t_sprite, 6, 400, 1);
sp_hard(¤t_sprite, 0);
draw_hard_sprite(¤t_sprite);
}
Make sure, though, that you've set push_active(1); somewhere, and that it's still 1
void main( void )
{
int &mydir;
}
void push( void )
{
&mydir = sp_dir(1, -1);
if (&mydir != 6)
{
say("I can't push from this direction",1);
}
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
move_stop(¤t_sprite, 6, 400, 1);
sp_hard(¤t_sprite, 0);
draw_hard_sprite(¤t_sprite);
}
Make sure, though, that you've set push_active(1); somewhere, and that it's still 1







