Reply to Sprite numbers
If you don't have an account, just leave the password field blank.
void main (void)
{
int &per1;
int &per2;
external("duck1", gvoice);
&per1 = &voice;
external("duck2", gvoice);
&per2 = &voice;
wait(500);
say("hello dink &per1", &per1);
say("don't listen to him dink", &per2);
}
what could be wrong with this script. &voice is a global variable and the duck1 script looks like the following
void gvoice (void)
{
&voice = sp(25);
}
25 being the sprite's editor number that the script duck1 is attached too.
the same exact thing for duck2 only it is sp(26);
{
int &per1;
int &per2;
external("duck1", gvoice);
&per1 = &voice;
external("duck2", gvoice);
&per2 = &voice;
wait(500);
say("hello dink &per1", &per1);
say("don't listen to him dink", &per2);
}
what could be wrong with this script. &voice is a global variable and the duck1 script looks like the following
void gvoice (void)
{
&voice = sp(25);
}
25 being the sprite's editor number that the script duck1 is attached too.
the same exact thing for duck2 only it is sp(26);