
These forums are CLOSED. Please visit the new forums HERE
It won't listen to me! |
|
Yrrek Gran
Crackpot Inventor
Join date: 20 Oct 2006
Posts: 209
|
03-16-2007 12:17
Sorry, I thought is was posting in scripting.
![]() |
Ronin Arnaz
Registered User
Join date: 6 Jun 2005
Posts: 41
|
03-16-2007 12:20
First, this is the wrong forum. You want "Scripting Tips." Second, it's probably something in your listen code. Post that.
|
Kyrah Abattoir
cruelty delight
![]() Join date: 4 Jun 2004
Posts: 2,786
|
03-16-2007 12:21
use link messages
wrong forum too, someone move that plz _____________________
![]() tired of XStreetSL? try those! apez http://tinyurl.com/yfm9d5b metalife http://tinyurl.com/yzm3yvw metaverse exchange http://tinyurl.com/yzh7j4a slapt http://tinyurl.com/yfqah9u |
Ashlynn Dawn
Shopping addict
![]() Join date: 1 Feb 2004
Posts: 508
|
03-16-2007 12:21
*sits and stares at all the letters and numbers that baffle me* Im so lost on scripting...wish I could help. Here is a link to the script forum;
/54/1.html |
Meade Paravane
Hedgehog
![]() Join date: 21 Nov 2006
Posts: 4,845
|
03-16-2007 12:26
Are both scripts in the same object? If so, you need to post in the other forum where people will be happy to tell you that objects don't hear their own chat (to prevent feedback)..
|
Winter Ventura
Eclectic Randomness
![]() Join date: 18 Jul 2006
Posts: 2,579
|
03-16-2007 12:27
Two things come to mind.
Does your listen screen the speaker against "llGetOwner?" if so.. it's important to note that you are not the object. and regardless of how much you try, the object will never have YOUR UUID. There's a trick to fixing this.. basically screening the OWNER of the speaker, against the owner of the listener... or just have it include llGetOwner as the key of the message being sent, and have the listen check the key in the messahe, against llGetOwner. (conversely, you could just use llGetKey() and use the key of the speaking object.. since the speaker and listener should be in the same object (according to what you've said). Another thing is.. you might want to try iusing LinkMessages instead of Say and Listen. Listen can be a security risk.. since say can be heard by anyone in range, listening to the right channel. I'm not sure, but there may be some weirdness with trying to have a script in an object, listen for text SAID by another script in that same object. I'm not 100% certain on this one, and can't texst for it right now.. but as I recall, recently I built something and was pleased to see that a script doing a say couldn't also hear that with a listen. A script can't hear itself talk.. this may be true of 2 scripts in the same object. Lastly.. this kind of stuff ususally belongs in "Scripting Tips" =).. but there's no harm in trying to help here. _____________________
![]() ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura |
Aminom Marvin
Registered User
Join date: 31 Dec 2006
Posts: 520
|
03-16-2007 12:28
looka kind of wonky... try using llSetTimerEvent(20) in state entry, then in timer use your other stuff.
Also linkedmessage is a lot more clean and less laggy |