Hi!
A COG of mine won't work in SP. What's wrong?
My guess is too many symbols...
/Edward
A COG of mine won't work in SP. What's wrong?
Code:
# Taunting!
#
# By Edward
symbols
message activated
model player0=ky.3do local
model player1=kyh4.3do local
model player2=kya9.3do local
model player3=kya10.3do local
model player4=kya11.3do local
model player5=kya12.3do local
model player6=kym13.3do local
model player7=kyi14.3do local
model player8=kya15.3do local
model player9=kya16.3do local
model player10=kya17.3do local
model player11=kya18.3do local
model player12=kya19.3do local
model player13=kyu0.3do local
model player14=kyx0.3do local
model player15=kyug.3do local
model player16=kyed.3do local
model player17=kyrb.3do local
model player18=kyrl.3do local
model player19=kygm.3do local
model player20=kycys.3do local
model player21=kydh.3do local
model player22=kydv.3do local
model player23=kysb.3do local
sound taunt0=i00ky111.wav local
sound taunt1=fett.wav local
sound taunt2=i00sa07z.wav local
sound taunt3=look2.wav local
sound taunt4=i00ic16z.wav local
sound taunt5=i00o105z.wav local
sound taunt6=i00s111z.wav local
sound taunt7=bossk-1.wav local
sound taunt8=00tuskenhowl01.wav local
sound taunt9=ptcldroidtalk01.wav local
sound taunt10=i00gr08z.wav local
sound taunt11=i00yu01z.wav local
sound taunt12=i00je05z.wav local
sound taunt13=i00ky111.wav local
sound taunt14=i00ky111.wav local
sound taunt15=ugnauttalk01.wav local
sound taunt16=Edwards local
sound taunt17=reeyee02.wav local
sound taunt18=reeyee03.wav local
sound taunt19=00gamorgibberish01.wav local
sound taunt20=30pro007.wav local
sound taunt21=gooddumb.wav local
sound taunt22=lakfaith.wav local
sound taunt23=SpaceBall local
keyframe dance0=kyfpull0.key local
int dk=-1 local
int i=0 local
int z local
end
#
code
activated:
if(i!=0) return;
i=1;
for(z=0; z<24; z=z+1)
{
If(GetThingModel(GetLocalPlayerThing())==player0[z])
{
PlaySoundThing(taunt0[z],GetLocalPlayerThing(),1,-1,1,0xC0);
dk=PlayKey(GetLocalPlayerThing(),dance0,1,0x4);
sleep(GetKeyLen(dk));
StopKey(GetLocalPlayerThing(),dk,1);
}
}
i=0;
return;
endMy guess is too many symbols...
/Edward

![http://forums.massassi.net/html/confused.gif [http://forums.massassi.net/html/confused.gif]](http://forums.massassi.net/html/confused.gif)