Reply to Re: block script
If you don't have an account, just leave the password field blank.
Now a weirdest thing happened. I tried it when &story was still 22.
But now I am playing it and &story is over 23 and the fence appears again but it doesn't block me anymore and I can walkthrough it now.
I changed the script in this one;
void main (void)
{
if (&story <= 23)
{
sp_touch_damage(¤t_sprite, -1);
sp_nodraw(¤t_sprite, 1);
}
}
void touch (void)
{
say("I am not ready yet.", 1);
move_stop(1, 2, 180, 1);
}
Why does the fence appears again? It works fine but the fence must be invisible.
But now I am playing it and &story is over 23 and the fence appears again but it doesn't block me anymore and I can walkthrough it now.
I changed the script in this one;
void main (void)
{
if (&story <= 23)
{
sp_touch_damage(¤t_sprite, -1);
sp_nodraw(¤t_sprite, 1);
}
}
void touch (void)
{
say("I am not ready yet.", 1);
move_stop(1, 2, 180, 1);
}
Why does the fence appears again? It works fine but the fence must be invisible.