These forums are CLOSED. Please visit the new forums HERE
Whisper text upon touch |
|
Lias Leandros
mainlander
![]() Join date: 20 Jul 2005
Posts: 3,458
|
01-04-2008 15:24
Anyone have a script I can drop in a prim that will whisper the text I add to it when touched? So folks can self-tour themselves through a area. Thanks.
_____________________
![]() http://slurl.com/secondlife/Bear/214/199/107 Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free. And on Avatar's United http://www.avatarsunited.com/groups/club-jobs |
Alicia Sautereau
if (!social) hide;
![]() Join date: 20 Feb 2007
Posts: 3,125
|
01-04-2008 15:28
string message = "Text to whisper when touched";
default { touch_start(integer total_number) { llWhisper(0, message); } } pritty much the default script you get when creating a new script just with the message you want by changing the text ![]() _____________________
|
Lias Leandros
mainlander
![]() Join date: 20 Jul 2005
Posts: 3,458
|
01-05-2008 07:17
Thanks so Much!
_____________________
![]() http://slurl.com/secondlife/Bear/214/199/107 Join in SL open enrollment CLUB JOBS to announce new DJ and Host Jobs for free. And on Avatar's United http://www.avatarsunited.com/groups/club-jobs |
AndreaP Teichmann
Registered User
Join date: 5 Dec 2007
Posts: 1
|
A further implementation...
01-14-2008 00:02
Hi...
...I was working on an object for the house where you can hide an object instead of another {if you have A, B, C you can use a chat command to show A and automatically hide B and C, when you show B C stais hidden and A turns hiodden too, etcetera...} and so far it works great. Now my problem is...what if I want to use a Hud/buttons to not have to type the command in chat all the times? The little script you wrote above didnt give the result I was hoping for...the use of it is endless for me. Do you have any solution? The same thing is very useful in clothes....you can wear something and hide/show parts of the cloths as you wish for example. Basicly the needed script must allow to communicate beteen twop different objects in order to operate an action on one object by another object. I hope I was clear...lol...and I hope you can help... Thanks, AndreaP Teichmann |
Imaze Rhiano
Registered User
Join date: 27 Dec 2007
Posts: 39
|
01-14-2008 01:12
Hi... ...I was working on an object for the house where you can hide an object instead of another {if you have A, B, C you can use a chat command to show A and automatically hide B and C, when you show B C stais hidden and A turns hiodden too, etcetera...} and so far it works great. Now my problem is...what if I want to use a Hud/buttons to not have to type the command in chat all the times? The little script you wrote above didnt give the result I was hoping for...the use of it is endless for me. Do you have any solution? The same thing is very useful in clothes....you can wear something and hide/show parts of the cloths as you wish for example. Basicly the needed script must allow to communicate beteen twop different objects in order to operate an action on one object by another object. I hope I was clear...lol...and I hope you can help... Thanks, AndreaP Teichmann 1. You can't control clothes through scripts (or do anything in player's inventory). However - you can hide/show attachements that are currently attached. 2. Writing scripts with HUD and object-to-object communications are something where scripters are getting their money. You should hire someone to do it ![]() |
Cherry Hainsworth
Registered User
Join date: 31 Jul 2006
Posts: 125
|
01-14-2008 18:59
You should hire someone to do it ![]() ![]() Andrea, what you need is llDialog (dialog is different from a HUD, but it is the thing with buttons). Probably you'll want to use linked prims: if the ones in your house are linked, then you're already doing that ![]() More info here: http://lslwiki.net/lslwiki/wakka.php?wakka=llDialog & here: http://lslwiki.net/lslwiki/wakka.php?wakka=link_message There are many excellent FREE scripts for llDialog menus. One you might like to start experimenting with is here: http://wiki.secondlife.com/wiki/Dialog_Module It's pretty advanced, but most of the work has been done for you. This is also a good one (just fill in the blanks!!): http://lslwiki.net/lslwiki/wakka.php?wakka=LibraryGeneralMenuEngine Once you have a feel for what you want to achieve - post back here if you get stuck ![]() |