Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Listen & Say Script question from a newbie.

Vlada Fitzpatrick
Registered User
Join date: 2 Sep 2007
Posts: 3
10-03-2007 10:44
Hi, I think this is a fairly simple thing I want to do and I've been reading through the LSL wiki, but I think there is something I'm missing.

I want to have an object that someone can say a word to, such as "help" and then the object will say "whatever blah blah"

I think I get the script needs for the lllisten and the llsay, but I am confused about the part where it's talking about the llgetowner. The object would only be owned by me, but I would want it to respond to anyone within the range that says the correct statement on the channel I identified. So, what should be there instead of the llgetowner... or am I just confusing myself more than I should be?

If you guys could help me out with that point I'd very much appreciate it.

Thank you!
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
10-03-2007 10:51
Assuming llGetOwner() is third argument to llListen(), try substituting NULL_KEY there, to say that you're not filtering the listen by the UUID of the speaker.
Vlada Fitzpatrick
Registered User
Join date: 2 Sep 2007
Posts: 3
10-03-2007 10:56
Ok, cool. I'm going to try that :) Thank you!