The Dink Network

Reply to Sprite numbers

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 20th 2004, 08:53 PM
goblins.gif
igloo15
Peasant He/Him
 
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);