Disabling the ACS menu from non-root prims

If you have added a non-ACS script to one of the non-root prims, such as an object rezzer or whatever, you may want to stop the ACS menu from popping up when that specific prim is touched.

To do that, you can use the llPassTouches() command in a script that is inside the specific prim:

llPassTouches(FALSE);

This means anyone touching the prim will not have the touch event passed to the root, which then calls up the ACS menu. This command must be executed from a script inside the specific non-root prim, the function cannot be set from a remote call.

Likely the best place to put it is somewhere in the state_entry section of the script:

state_entry()
    {
        llPassTouches(FALSE);
        llOwnerSay("Greetings");
        llTriggerSound("nooooo",1.0);
    }