putting someones name in a script. - SLUniverse Forums
Navigation » SLUniverse Forums > Virtual World Discussion > Technical Help » putting someones name in a script.


Technical Help Discuss technical support issues here.

 
Reply
 
LinkBack Thread Tools Display Modes
Old 06-19-2017, 03:56 AM   #1 (permalink)
Junior Member
 
Join Date: Apr 2014
Posts: 6
putting someones name in a script.

I have placed a hand wash anim in a pose ball, and it works fine using a basic pose ball script, but i want to add a tag: "xx(persons name) is washing her hands" whenever someone uses the pose ball. How do I do that?
maryd is offline   Reply With Quote
Old 06-19-2017, 07:10 AM   #2 (permalink)
That Bitch

*SLU Supporter*
 
Void's Avatar
Innocent as far as you know
 
Join Date: Nov 2011
Location: Online
Posts: 14,947
My Mood:
SL Join Date: late 04 original account, mid 05 current
insert this line after the line that starts the animation

llSay( 0, llKey2Name( llAvatarOnSitTarget() ) + " is washing their hands" );

you can also use llGetUsername or llGetDisplayName to replace llKey2Name


for future reference it's better to post these sort of questions in the Scripting section
__________________
- These eyes can do more than see
Quote:
Originally Posted by Cajsa Lilliehook View Post
It's not enough to care about liberty if the only liberty you care about is your own.
Quote:
Originally Posted by Jupiter Firelyte View Post
Why doesn't anyone ever ask, "What is the real meaning of the winter solstice?"
Quote:
Originally Posted by Eboni Khan View Post
Thanks for being passive agressive.
Void is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On




SEO by vBSEO