Jump to content
  • 0

Is it possible to temp rezz an object while an avatar is detected until they leave the area?


GEE McAuley
 Share

You are about to reply to a thread that has been inactive for 2973 days.

Please take a moment to consider if this thread is worth bumping.

Question

Hello,

Is it possible to temp rezz an object while an avatar is detected were the object is on a sub parcel Owned by Group and wearing any level in the the group tag ?

An example would be  as shown in the below image.  I would like a small building to rezz quickly and be able to enter it in the sub parcel, stay rezzed while being occupied and when the last avatar leaves it de-rezzes after lets say 10 seconds.  This building would also have some simple furniture in it which must rezz and de-rezz along with the building.
My thought would be a simple rezz-box (Builders-Buddy script) but modified to activate with the detection of an avatar within a set distance not touch.
In the image, I am guessing the smaller prim (detect prim) may be needed and attached to the larger prim to control it since the main prim (building) is on a sub-parcel.
Any help with this task would be appreciated,
Thanks
GEE



Thanks Rolig

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

That's certainly one way to do it.  You don't need an elaborate set of sensors, though.  All you need is a timer event with llGetAgentList(AGENT_LIST_PARCEL,[]). If it returns anything other than an empty list, rez your object.  If it comes up empty, have a similar script in the object make it llDie().  If you can't write those two simple scripts yourself, post a request in the InWorld Employment forum.  A hungry scripter will be glad to write a custom script for you.

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2973 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...