Reply to Re: Scripting to talk to a duck on an island (Making script appear above the duck instead of the script obj)
If you don't have an account, just leave the password field blank.
what you want to do is create a sprite and have the say() lines originate from the created sprite. So something like this...
void main(void)
{
int &duck = create_sprite(x coordinate, y coordinate, brain, sequence, frame);
}
void talk(void)
{
freeze(1);
say_stop("Hello duck", 1);
wait(200);
say_stop("`4QUACK YOU!", &duck);
unfreeze(1);
}
Does this help?
void main(void)
{
int &duck = create_sprite(x coordinate, y coordinate, brain, sequence, frame);
}
void talk(void)
{
freeze(1);
say_stop("Hello duck", 1);
wait(200);
say_stop("`4QUACK YOU!", &duck);
unfreeze(1);
}
Does this help?