Jump to content
Amorenna

Interactive text above head

Recommended Posts

Hi all, I'm looking for a script (?) for floating text above head. "___ # of people want to ___" that sort of thing, that another user can click and it adds to the number. Any suggestions would be great, as I can't find one for the life of me. Thank you :)

Share this post


Link to post
Share on other sites

Not sure it's exactly what you're after but maybe something like this with a little editing?

// Touch Me Plea script [KMLT-Touch Me Plea]
// - Author.: KarenMichelle Lane
// - Company: KM Love Things
// - Freely Donated into the Public Domain
//
vector  color = <1.0, 1.0, 1.0>;
string  default_text = "Hello, I'm just here waiting to be touched!";
string  text;
integer count=0;

default
{
    state_entry()
    {
        text = default_text;
        llSetText(text, color, 1.5);
    }

    touch_end(integer number)
    {
        count = count + 1;
        text = "Oh My! I've been touched " + (string)count + " times. Do it again please.";
        llSetText(text, color, 1.5);
    }
}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...