Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Profile Pic in worn object?

Cindy Lu
Little Gigglebox
Join date: 27 Jul 2008
Posts: 10
10-21-2009 17:29
Is it possible?

I'm making ID badges, and thought it would be cool if when the person wears it that it would put their profile pic and name on it right away rather than them having to do it themself. I have a script for the name.. but is it possible to do the profile pic on attachment? If so.. where can I get this script? ^^ Thanks!
Feldspar Millgrove
Registered User
Join date: 16 Nov 2006
Posts: 372
10-21-2009 17:38
There's an example at http://wiki.secondlife.com/wiki/User:Opensource_Obscure/FFHUD. I tried to post a simplified script here for you but the forum software doesn't like that, so I'll drop it to you inworld.
Cindy Lu
Little Gigglebox
Join date: 27 Jul 2008
Posts: 10
10-21-2009 18:51
That would be wonderful :D

Edit: The script you showed me at the website is for blogging? I am only wanting to put a profile picture onto a prim of an attachment.
Feldspar Millgrove
Registered User
Join date: 16 Nov 2006
Posts: 372
10-21-2009 19:25
I don't remember exactly what the script at the URL was for, but it provided the hints I needed to write the "PicBadge" script that I sent you in the prim. The prim is a badge - you Wear it, and your picture appears on it.

If anyone is interested in learning how this script works and how to do more like it, come to my Advanced Scripting class at Constructive Education. :)


(Cindy, IM me if the script isn't right - I just dashed it off here and only minimally tested it.)