These forums are CLOSED. Please visit the new forums HERE
Sit Target Access List |
|
|
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
|
03-17-2006 15:00
I am sure this sounds simple but i have run into a wall with it. I have made a simple sit target teleporter. What i cannot figure out is how to control who can use it. How do you have a list of people and then test whether the person has access BEFORE they are short range teleported?
|
|
Lee Ludd
Scripted doors & windows
Join date: 16 May 2005
Posts: 243
|
03-17-2006 15:19
The approach I have used is to put the prim containing the sit target in a locked box, and put the names of the people I want to be able to access it on the guest list of the box.
|
|
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
|
03-17-2006 15:24
Not quite sure how that would help. Would you have them sit on the outside box? Or touch the box first?
|
|
Kaklick Martin
Singer/Songwriter
Join date: 3 Oct 2005
Posts: 175
|
03-17-2006 15:27
Similar to the above I have a prim that has the access list code in it rez the object that you sit on (witch dies as it dumps you off). So, you click on the container prim, it checks the list and rezzes the sit target if you are on the list. Similar concept, but I like having the flexibility of the list - not requiring people to join yet another group.
|
|
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
|
03-17-2006 15:30
Ok Kaklick so if i understand you correctly the person would touch the outside box which then rezzes the prim with the teleporter. Then they could sit on it and it would llDie once they have tpd to the destination.
|
|
Kaklick Martin
Singer/Songwriter
Join date: 3 Oct 2005
Posts: 175
|
03-17-2006 15:34
Yup, that's how I do it.
|
|
Lee Ludd
Scripted doors & windows
Join date: 16 May 2005
Posts: 243
|
03-17-2006 15:39
Not quite sure how that would help. Would you have them sit on the outside box? Or touch the box first? They open the locked box and then they touch prim with the sit target. This sends them away. The locked box closes automatically after a few seconds. If you want to see this thing in action, contact me in world and I'll show you. |
|
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
|
03-17-2006 15:49
Lee how do they get tpd by touching the box? I thought there was no way except through a sit target and there was no way to auto sit them.
|
|
Yeti Freeloader
Registered User
Join date: 6 Dec 2005
Posts: 13
|
03-17-2006 16:46
far easier to use a llSetPos teleporter . . . and just not move before unsit if they aren't in the access list.
|
|
Lee Ludd
Scripted doors & windows
Join date: 16 May 2005
Posts: 243
|
03-17-2006 17:10
Lee how do they get tpd by touching the box? I thought there was no way except through a sit target and there was no way to auto sit them. Sorry. I said "touch the box" where I should have said something like "touch the 'sit' button on the prim's pie menu that you get when you right click on the prim." |
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
03-18-2006 11:29
Ok Kaklick so if i understand you correctly the person would touch the outside box which then rezzes the prim with the teleporter. Then they could sit on it and it would llDie once they have tpd to the destination. Just have the teleporter set llSitTarget when a permitted visitor touches it, and clear it after they've teleported. A better idea: if the wrong av is on the sit target, have the object llSetRot() itself so the av is somewhere else before llUnSit()ing them. Underground directly below the teleporter so they pop back to the surface where they started would be my choice. |
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
03-18-2006 19:24
An even better idea, have the object rotate to where the sit target is in the wrong place until the right person sits on it, then it rotates to the right place and unsits them.
|
|
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
|
03-19-2006 12:37
The question then remains how do i dynamically change the sit target AFTER then sit on it. My problem has been that by the time i get to test the avies key(in the changed event) they have already been tpd to the destination.
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
03-19-2006 13:10
The question then remains how do i dynamically change the sit target AFTER then sit on it. My problem has been that by the time i get to test the avies key(in the changed event) they have already been tpd to the destination. _____________________
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
03-19-2006 13:17
The question then remains how do i dynamically change the sit target AFTER then sit on it. My problem has been that by the time i get to test the avies key(in the changed event) they have already been tpd to the destination. CODE
|
|
Ares Desmoulins
Registered User
Join date: 13 Sep 2005
Posts: 22
|
03-19-2006 13:18
The rotation based on access list is probably the best way to do an unsit teleporter. there is no way to change a sit target while someone is sitting on the prim; the would have to unsit then sit back down before changes take effect.
|
|
Nick Fortune
National Alchemist
Join date: 30 May 2003
Posts: 74
|
03-20-2006 01:52
/15/0b/17000/1.html#post159249
Wrote this a while ago, should still work though i think.... Slight modifications to it should lead you to your desired outcome. The avatar has to collide with it in order for it to check if they are on the list or not. The object you put this script in is invisible until somebody on the list collides with it. You could easily take this out and set a different location using this script. If you didnt want the AV to have to collide with the item teleporting them you could make a small detection prim that would tell the actual teleport object if the person colliding with the prim is on the list or not. Let me know if you wanna go this route, i can script it up for you no problem. Hope it helps! |
|
Nick Fortune
National Alchemist
Join date: 30 May 2003
Posts: 74
|
03-20-2006 02:46
Ah... i was bored
re-wrote it a bit and added in some more info...CODE
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
03-20-2006 09:25
I've added a selective mode to my long distance teleporter script (open source, in my store 500m above the big lagoon at the south of LostFurest dAlliez), with an amusing "OMG! Teleport failure!" drop-the-perp-somewhere-random option.
|