ok! Well in the cog dowloads section (i think it's under multi player) you can get a P.A system cog whick is for levels where u want stuff tp be said to all the users when u press a switch. Like in Drazen Isle.
for instance:- if u press a switch it sais "player1(or whatever your name is) pressed the switc" (u can change the text i think). Here is the cog:-
symbols
message activated
message timer
sound beep
surface printswitch
flex unistring0
flex unistring1
int status=0 local
int player local
flex delay=5.0 desc=timer_delay
end
code
activated:
playsoundpos(beep, SurfaceCenter(printswitch), 1, -1, -1, 0);
If(status==1) Return;
status=1;
jkStringClear();
jkStringConcatUNIString(unistring0);
jkStringConcatSpace();
jkStringConcatPlayerName(player);
jkStringConcatSpace();
jkStringConcatUNIString(unistring1);
jkStringOutput(-3, -1);
SetTimer(delay);
Return;
timer:
status=0;
end
How do u get it to work!! The bits u have to
write give to jed is the printswitch,unistring1,unistring2 and delay.
I am quite new to cogging and i can't get it to work? How?