Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Creating highlights?

Kiwi Alfa
Registered User
Join date: 19 Jul 2006
Posts: 9
08-15-2006 04:17
Hi,

Is there a way to create a highlight that is only visible to one person from within a script, in much the same way that your teleport destination is marked with a semi-transparent red cylinder that only you can see?

In this case, the person who I want to see the highlight is the owner of the containing object, so if it can only be done for the owner anyway, that's fine.

If it's not possible to make arbitrary highlights, is it possible to set the teleport destination from within a script? Obviously I wouldn't do it without the full knowledge of the person beforehand.

Thanks!
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
08-15-2006 05:16
Two options I can think of:

Firstly, Particles which target an object from a HUD are visable only to the owner/wearer of the HUD. So with the UUID (key) of your target you can set a particle effect to target them, this particle effect is emitted from <0,0,0> in the Sim so you'll need to play around with the settings to get something which is visable.

Secondly, as you mentioned, you can set the map destination using the function llMapDestination (see: http://secondlife.com/badgeo/wakka.php?wakka=llMapDestination ) for which you need the position and the sim name. The position could be found using a sensor (although thats not the only method available). For the sim name use llGetRegionName().

Thats all I can think of as far as systems which are only visable by one person, perhaps there are other methods (some clever use of the HUD perhaps).

Hope this helps.
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
Kiwi Alfa
Registered User
Join date: 19 Jul 2006
Posts: 9
08-15-2006 05:42
Sweet. Either of those options should be good for me, since the object I'm developing is worn as a HUD anyway. I'll be giving those a try tonight.

Thanks! You rock.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
08-15-2006 10:24
Are particles from HUDs working correctly now?

At one point they used to be drawn from <0,0,0> on the sim so not useful for a lot of applications.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog