Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

group only sale?

Faithless Babii
Iam F.A.B
Join date: 5 Feb 2007
Posts: 1,079
04-04-2008 20:17
Is there a way to make something for sale to a particular group? I seem to recall once going to a store where I had to wear my group tag to get the item that was being offered free...but I cant for the life of me work out how they did that...

anyone got an idea?

Fai x
_____________________
I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-04-2008 20:31
It's pretty straightforward. In the edit window, you set the vendor object to to the same group as the allowed buyers (but beware autoreturn settings :p). Then you can use llSameGroup to see if the avatar is wearing the right tag. Scripted vendors will need the usual busywork, refund if the group membership is wrong after a payment and all that.
_____________________
Faithless Babii
Iam F.A.B
Join date: 5 Feb 2007
Posts: 1,079
04-04-2008 20:34
thank you :) I wasnt going to use a vendor though..straight forward object/freebie on the floor of the store...is that possible?
_____________________
I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas?
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
04-04-2008 20:35
Sure, and you are in luck because the sample code in the wiki does exactly that =)

http://wiki.secondlife.com/wiki/LlSameGroup
_____________________
Faithless Babii
Iam F.A.B
Join date: 5 Feb 2007
Posts: 1,079
04-04-2008 20:36
ooo yay! :)
_____________________
I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas?