Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Group Based Object

Lolita Barbosa
Registered User
Join date: 27 Feb 2007
Posts: 6
05-30-2007 14:05
Hi Hi, i was wondering how can i make a object group based, for example:
I do have a modelling stand but i only want to the group people use it, so alien people can not use it.

^^ thanks.
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
05-30-2007 14:50
To do that, when someone sits (or in this case stands, same action) on the pose stand. Do a check of that avatar with llSameGroup(avatar key). If it returns true, let them stay on, if it returns false, boot them off. That's the most effective way to do what you want. The only drawback is that they must have the group that the object is set to active as their group.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-30-2007 14:51
Easy enough to do: in the changed() event, where you detect the person sitting on the object, use llSameGroup() on the key returned from llAvatarOnSitTarget(), and unsit him/her if false.