Reply to Yet another script question
If you don't have an account, just leave the password field blank.
Why does the following script not work? Dink says "It's here" whether the sprite is visible or not, and I can't work out what I'm doing wrong.
void main (void)
{
int &here = sp_nodraw(¤t_sprite, -1);
//uncomment following line to test
//sp_nodraw(¤t_sprite, 1);
}
void talk (void)
{
if (&here == 0)
{
say("It's here!", 1);
}
}
void main (void)
{
int &here = sp_nodraw(¤t_sprite, -1);
//uncomment following line to test
//sp_nodraw(¤t_sprite, 1);
}
void talk (void)
{
if (&here == 0)
{
say("It's here!", 1);
}
}







