I had a problem with this cog a while back but now I have it cornered and working somewhat correctly.
While I was testing it alone it looked like it worked fine.. but when I went to actually implement with one of my friends I discovered that no matter who touches the switch it prints my name where it should place the name of the player that touched the switch:
===========================================
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;
============================================
I am guessing it has to do with identifying who "player" is. Little help?
------------------
~~~~~~~~~~~~~~~~~~~~~~~~~
†
"That's the Force for you... So much power, so many holes to fall into."
Jedi Master Labri
While I was testing it alone it looked like it worked fine.. but when I went to actually implement with one of my friends I discovered that no matter who touches the switch it prints my name where it should place the name of the player that touched the switch:
===========================================
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;
============================================
I am guessing it has to do with identifying who "player" is. Little help?
------------------
~~~~~~~~~~~~~~~~~~~~~~~~~
†
"That's the Force for you... So much power, so many holes to fall into."
Jedi Master Labri
~~~~~~~~~~~~~~~~~~~~~~~~~
†
"That's the Force for you... So much power, so many holes to fall into."
Jedi Master Labri
†
"That's the Force for you... So much power, so many holes to fall into."
Jedi Master Labri