Is this expected behavior?
default
{
state_entry()
{
llListen( 55, "", NULL_KEY, ""
;}
listen( integer channel, string name, key id, string message )
{
llOwnerSay( message);
}
}
These forums are CLOSED. Please visit the new forums HERE
deeded object can't listen? |
|
|
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
|
04-08-2009 11:47
Apparently, a deeded object can't listen. The following script will echo anything you type on channel 55, unless you deed it to your group. Then it will do nothing.
Is this expected behavior? default { state_entry() { llListen( 55, "", NULL_KEY, "" ;} listen( integer channel, string name, key id, string message ) { llOwnerSay( message); } } _____________________
The Vengeance Studio Gadget Store is closed!
![]() |
|
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
|
04-08-2009 12:02
Is this expected behavior? Nope. Not even a little. Are you sure that's the code you're using? Just going by the thread title, I guessed the problem was that you were only listening to llGetOwner() - something that breaks lots of scripts when the owner changes (like it does when deeding). Also, just getting the "is it plugged in?" stuff out of the way, are you sure the script's actually running? _____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
|
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
|
04-08-2009 12:02
I suspect it's listening fine, but who is llOwnerSay talking to if the owner is now the group?
_____________________
Designer of sensual, tasteful couple's animations - for residents who take their leisure time seriously.
![]() http://slurl.com/secondlife/Brownlee/203/110/109/ ![]() |
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
04-08-2009 12:02
Because... You aren't the owner anymore, the Group owns it.
So it is working, it's sending messages to the 'group' which probably can't receive llOwnerSays. ![]() _____________________
|
|
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
|
04-08-2009 12:03
Oh. D'oh. Yes - it's definitely the owner say..
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
|
Darien Caldwell
Registered User
Join date: 12 Oct 2006
Posts: 3,127
|
04-08-2009 12:06
Answer pileup on the Forum Freeway
![]() _____________________
|
|
Anya Ristow
Vengeance Studio
Join date: 21 Sep 2006
Posts: 1,243
|
04-08-2009 12:06
I suspect it's listening fine, but who is llOwnerSay talking to if the owner is now the group? Oops. That's it ![]() Thanks, all. _____________________
The Vengeance Studio Gadget Store is closed!
![]() |