VonGklugelstein Alter
Bedah Profeshinal Tekstur
Join date: 22 Dec 2007
Posts: 808
|
05-14-2009 11:29
I am trying to find the listen range of a Dialog. I believe it is 20M like regular Chat. I have seen several instances where Dialogs do not respond in a building because the scripts now listen from the root prim and not the child prim where the script lives.
So if a Door Script is in the back of the house and the builder made the root prim in the front of the house, chances are that the dialog will fail depending on where you are standing when you call the menu.
It used to be that the Dialog listened from the location of the script but there seems to have been a unannouced silent change made that can make some older setups not work properly.
n\Any info on this? Thanks
|
Elkestra Twilight
Registered User
Join date: 13 Feb 2004
Posts: 8
|
05-16-2009 07:59
I've not had to deal with this problem personally yet, but as I see it, the way round this would be to put the llDialog's listener in the root prim, and then use link-messages and/or relay llWhispers or llRegionSay to pass control responses back to the door/window that is out of the 20m range of the root-prim.
|
VonGklugelstein Alter
Bedah Profeshinal Tekstur
Join date: 22 Dec 2007
Posts: 808
|
05-17-2009 06:00
From: Elkestra Twilight I've not had to deal with this problem personally yet, but as I see it, the way round this would be to put the llDialog's listener in the root prim, and then use link-messages and/or relay llWhispers or llRegionSay to pass control responses back to the door/window that is out of the 20m range of the root-prim. Even though possible to use chat or Regionsay, Actually the better solutions is to watch the size of linksets. Some scripts such as Tint or Texture Changers and Door Scripts have to be in the child prim and are already resource heavy. You will end up with a insane amount of active listeners by passing on all the commands. I am seeing a lot of builds that are maxed out on how many prims can be linked together, with some being as large as 40+ M in a direction It appears that the listen gets automatically passed to the root prim already as it is right now and I am finding that 20-25 M seems to be the max distance but have not found a exact rule on it.
|
Johnnytreadlightly Nightfire
Registered User
Join date: 1 Jun 2008
Posts: 11
|
05-19-2009 17:31
Also noticed this some time back. I was having problems with doors and windows using a dialog. Solution? I had to rescript a touch event. Either that or redo entire linksets. The current range is 20 I think. I used my plywood measuring stick to test my theory and that seemed to be the max. You could always move the root prim closer to center as well, or at least an advantageous distance from all your scripted prims.
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
05-20-2009 21:24
Oh yeah, the root prim thing. I don't think anyone is working on it right now, but LL knows about it. To make it more fun, it behaves differently between a fresh link and a rez from inventory, and attachments are affected if you sit on something. http://jira.secondlife.com/browse/SVC-3170
|