Ace Cassidy
Resident Bohemian
Join date: 5 Apr 2004
Posts: 1,228
|
08-05-2004 07:33
"Technical Issues" might be the more appropriate forum for this, since at its core, its a bug in the sims, but since its affecting my scripts, and I'm looking for a script workaround, I'm posting here.
I have an object that the sim is convinced has someone sitting on its sit target, even when there's nobody on the object.
I can pull the object into inventory and re-rez it, and llAvatarOnSitTarget() will still return the key of the last person using it. I can reset the script, and llAvatarOnSitTarget() will return the key. I can link/unlink all the prims, and llAvatarOnSitTarget() will return the key. I even tried calling llUnSit() using the key returned, and llAvatarOnSitTarget() returns the key.
I have found NOTHING that will clear the object from this state.
So two questions...
1) Has anyone else seen this behavior?
2) Is there a workaround?
- Ace
_____________________
"Free your mind, and your ass will follow" - George Clinton
|
Jack Digeridoo
machinimaniac
Join date: 29 Jul 2003
Posts: 1,170
|
08-05-2004 07:58
Just a guess, but maybe the llSitTarget might have been reset to 0? If not, try setting it to 0 and then back again?
_____________________
If you'll excuse me, it's, it's time to make the world safe for democracy.
|
Ace Cassidy
Resident Bohemian
Join date: 5 Apr 2004
Posts: 1,228
|
08-05-2004 08:14
From: someone Originally posted by Jack Digeridoo Just a guess, but maybe the llSitTarget might have been reset to 0? If not, try setting it to 0 and then back again? That was a good idea.... I just gave it a shot, but still I have the same problem, even after adjusting the sit target to ZERO_VECTOR and back again. *sigh* - Ace
_____________________
"Free your mind, and your ass will follow" - George Clinton
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
08-05-2004 10:43
Have you reported this? Sounds like a bug.
|
Ace Cassidy
Resident Bohemian
Join date: 5 Apr 2004
Posts: 1,228
|
08-05-2004 11:25
From: someone Originally posted by Eggy Lippmann Have you reported this? Sounds like a bug. Yeah... I filed a bug report as soon as I discovered the problem. I was just kind of hoping that someone else had seen similar behavior and come up with a workaround. - Ace
_____________________
"Free your mind, and your ass will follow" - George Clinton
|
Kurt Zidane
Just Human
Join date: 1 Apr 2004
Posts: 636
|
08-05-2004 12:41
I"m not sure what you mean. But I can tell you how I keep my seat chairs to keep the propertly value of user at all times.
my solution was to set the chair to property recognize when some one sits and stands. And then make sure part of standing triggered user to be set to NULL_KEY. I also made sure on res the scrip restarts, and that on the declaration of user is key user =NULL_KEY;
If you want to see my code in game. I'd be happy to show it to you. Or if you want i'd be happy to look at your code.
|