Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Trap script

Uma Sellery
Registered User
Join date: 26 Jul 2006
Posts: 2
08-09-2006 08:28
hope this is the best place to post this

I am looking for a trap script if there is one around i.e

a cage that has an owner lockable door also is set so any avi that enters the cage it shuts the door and locks it, (you are not around) and records that name of the captive, (seen the name recording bit on a warning message which comes up when entering an area etc)
Naturally the captive can TP out of the trap etc but you have a record of the trapping.

Its for a bit of fun and a challenge which has been set (catch someone in my place !) and sounds like a simple trigger to me, as i am not a scripter it may not be however so anyone got any ideas ?

oh the cage has a pose ball in it which is the Lure for the visitor !!

Hoping for help
Uma
Dominic Webb
Differential Engineer
Join date: 1 Feb 2006
Posts: 73
08-09-2006 09:24
From: Uma Sellery
hope this is the best place to post this

I am looking for a trap script if there is one around i.e

a cage that has an owner lockable door also is set so any avi that enters the cage it shuts the door and locks it, (you are not around) and records that name of the captive, (seen the name recording bit on a warning message which comes up when entering an area etc)
Naturally the captive can TP out of the trap etc but you have a record of the trapping.

Its for a bit of fun and a challenge which has been set (catch someone in my place !) and sounds like a simple trigger to me, as i am not a scripter it may not be however so anyone got any ideas ?

oh the cage has a pose ball in it which is the Lure for the visitor !!

Hoping for help
Uma


llVolumeDetect() and llMessageLinked() are your friends...


- d.
_____________________
.sig space for rent.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
08-09-2006 12:11
From: Dominic Webb
llVolumeDetect() and llMessageLinked() are your friends...

Unless you want the whole thing to be phantom and then turn physical to spring the trap, you cannot use both of those. 'llVolumeDetect()' applies to the whole object, not just the prim in which it was set. Something like a hollow prim centered in the middle with a sensor could work, though. Or a floorplate that uses a collision event. Otherwise multiple objects and a chat-based communication mechanism are going to be necessary.
Dominic Webb
Differential Engineer
Join date: 1 Feb 2006
Posts: 73
08-09-2006 12:21
From: Hewee Zetkin
Unless you want the whole thing to be phantom and then turn physical to spring the trap, you cannot use both of those.


I blame me being at work for this slight snafu.

You are correct. llVolumeDetect() would still be a novel approach, even if it does require a chat-based communications interface.


- d.
_____________________
.sig space for rent.