Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple Linked Objects and Menu

Erectous Mayo
Registered User
Join date: 27 Jun 2007
Posts: 4
07-17-2007 12:16
I had a small test menu that I was using in a cube. I had it set up to where the menu would pop up when the cube was clicked. The cube worked fine untile I added another object to it and then linked them together. Can someone explain why this has happened and what would I have to do to get it working again. Many thanks. Oh and BTW I know very little about the menu systems and how they work. If anyone could educate me or give me some tips on that too I would appriciate it. Again thx 4 your time :)
Shadow Subagja
Registered User
Join date: 29 Apr 2007
Posts: 354
07-17-2007 14:29
If you want a touch anywhere on the link set to get your menu, make sure the menu script and the touch_start() handler are in the ROOT prim, and also make sure any other linked prims that are overlapping the root prim (even transparent ones) do not have touch_start() handlers (as this will intercept and handle the touch, and not pass it on to the root prim, I think).

If you still want touch_start() handlers in your linked objects to do various things depending where the touch occured, but still want the touch_start() to fire in the root prim (and give a menu) then in the linked items you can use:
llPassTouches(TRUE);
This will cause the touch events to occur in both objects.
Erectous Mayo
Registered User
Join date: 27 Jun 2007
Posts: 4
07-17-2007 17:52
That worked :) Thanks for the help.