Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

who can help share a scirpt for camping parcel

Jolly Heron
www.ideashape.cn/
Join date: 18 Apr 2007
Posts: 71
01-21-2008 01:22
who can help share a scirpt for camping parcel ?
The camping will be triggered once the user touch my object, join a required group and stay in my parcel . Once he/she leaves my parcel or click the object again or he/she stays in my parcel and required group for the required time. The object return money to him/her automatically.
_____________________
Different Virtual Worlds: http://www.ideashape.cn/
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
01-21-2008 01:48
I can suggest some library functions and such you'll want to look into:

llSameGroup()
llOveryMyLand() (and possibly llGetObjectDetails() with llGetParcelDetails() )
llSetTimerEvent()
llRequestPermissions()
llGiveMoney()

And there's at least one little gotcha on the group part: you can only tell if a resident has the tag of the object's group activated; you cannot test via simple LSL whether the resident belongs to the group if they don't have that group's tag set.

Your question was a little unclear. I hope that helps, but make sure you follow up if you still have questions. Note that this forum is about helping YOU develop your scripts, not about giving you canned ones (try the Products Wanted forum if a fully developed script is what you want).