Clicking through a prim
|
|
Marijane Greene
Registered User
Join date: 15 Jun 2007
Posts: 33
|
06-08-2009 12:08
Is it possable to create a script that would allow people to be able to click through a prim?
Example: I build a wall, use a normal white texture set it's opacity to 50% with a red color and a little glow, gives a cute little effect, behind that wall i have a set of vendors on another wall. I'd like for people to be able to click through the first wall and be able to interact with the vendors behind it, is it possable?
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
06-08-2009 12:37
I may not be visualizing the setup exactly the same way you are, but if the goal is simply to be able to click a vendor that is on the other side of a translucent wall, all you have to do is link a prim with a full transparent texture to the vendor (or to its buttons, if it has buttons). Let the transparent prim stick through the wall so that people can click on it. It will seem like clicking on a painting that is mounted behind a sheet of glass. Is that what you had in mind?
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
|
Marijane Greene
Registered User
Join date: 15 Jun 2007
Posts: 33
|
06-08-2009 13:08
Yeah, could definatly do that..but if I have 50 vendors, then I have to do 50 additional invisable prims to poke through I imagine, that'd get rather prim heavy.
I just figured if there were a script that could make it so a prim could be clicked through, might make life easier but it's not looking possable, not the end of the world, just an idea =)
Thanks for the response, I apprecite it very much indeed!
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
06-08-2009 18:06
there was a method for doing this with the right click discussed back a ways in texturing or building tips, but as I recall it requires a full transparent texture (one of the invisiprim ones) so it probably fails your needs on 2 counts... past that i'm not aware of any other tricks for true pass through clicking
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Marijane Greene
Registered User
Join date: 15 Jun 2007
Posts: 33
|
06-09-2009 06:04
Ah well, apprecite the responses anyways! Thanks a ton.
|
|
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
|
06-09-2009 09:38
It isn't exactly the same as you described, but take a look at llDetectedTouchST(0). With a little coding, you can get to your end result with it and not have any additional prims. 
|
|
Calli Kit
Registered User
Join date: 21 Feb 2007
Posts: 2
|
06-09-2009 11:55
Sounds to me like you might get the effect you want using particles... maybe even a particle texture. Nothing to touch...no prim in the way. 
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
06-09-2009 17:19
ooo nice idea... what's the max particle size though?
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
|
Calli Kit
Registered User
Join date: 21 Feb 2007
Posts: 2
|
06-10-2009 06:08
According to the wiki it's 4mx4m, which would be limiting, unless its a doorway or window, I suppose. A gradient (solid in the center to transparent on the perimeter) would alleviate the square prim visual effect, but a textureless particle display would be the most flexible I would think. 
|