Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Eject from stage

Jonesey Spitteler
Builder / Shop Owner
Join date: 19 May 2007
Posts: 60
10-27-2007 00:44
Hi

I'm looking for a script that will push people off a stage if they are not member of a certain group.
Does anyone know how it's done / have a script for that?

/Jonesey
Tyken Hightower
Automagical
Join date: 15 Feb 2006
Posts: 472
10-27-2007 00:54
From: Jonesey Spitteler
Hi

I'm looking for a script that will push people off a stage if they are not member of a certain group.
Does anyone know how it's done / have a script for that?

/Jonesey

Without actually writing out some code..

You first need a way of detecting who is on the stage; either by a sensor, by collisions with the stage prims, or otherwise. You can then use llSameGroup on the key of the person if your stage is set to the group, or you can compare group keys using llGetObjectDetails. Then if they don't match up, shove them out.
_____________________
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
10-27-2007 07:59
Hope you realize that push will have to be enabled on the land the stage is on which opens it up to all sorts of nasty griefing.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum