Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-24-2005 16:22
I'm working on a few toys that will need to take the controls over from two or more avs, and I've run into a problem: The parent prim is recieving the controls calls from the child prims. Now, I'd figured that if this were to happen then the id it passed to the event would be useful to sort them out. But, both control() events in the two involved scripts are being passed the ID of the avatar on the parent prim! Is this what's supposed to happen? A bug? Anyone having done something like this before have any suggestions for me? hep!
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
04-24-2005 18:14
That's odd; I've not toyed with permissions much in this respect. Have you tried taking all control inputs solely in the child prims, cutting the master out of the equation?
After all, you could just link message the master prim if you need to.
_____________________
---
|
Harris Hare
Second Life Resident
Join date: 5 Nov 2004
Posts: 301
|
04-24-2005 18:42
I have to agree with Jeffrey. It seems like you could save yourself a lot of headaches by giving each user their own prim with it's own control event script and have the prims just relay messages to the master script.
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-26-2005 00:52
Well, I just worked around it for the immediate project. In future I'm going to try to keep the root prim out of the seating arrangement and see if that helps. I note that nowhere is it mentioned what id is supposed to be passed to the control() event. It's not in the docs tht come with SeondLife, and it isn't mentioned in the Wiki. I'm going to have to experiment with that and see if I can dertermine its use and get it added to the Wiki. Thankie guys 
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
04-28-2005 01:50
Note: Keeping the root out of the prims that grab controls does help.
|