Jump to content

Open a note card when touched


Flapman
 Share

You are about to reply to a thread that has been inactive for 3716 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi all,

 

I was wondering if I could get help with this too.  I don't know if this would require a script or not but what I have is a sign.  I want to a) have text over the sign that says click for more info and b) have a notecard open up when they do or possibly direct them back to my RL website.

 

Thanks in advance,

 

A

Link to comment
Share on other sites

You'll find that I posted this advice to your first question ...

If you are a scripter and are trying to find your way around a sticky spot in a script you are writing, you have come to the right place.  That's what this forum is for.  However, if you are looking for a free script (or even one to buy), there are several script libraries here, in the LSL wiki, and in world.  You can also shop in Marketplace or do a Google search for script repositories elsewhere.  If you are hoping to have someone write a script for you, you should post in the InWorld Employment forum.

You are suggesting very simple, beginner-level scripting projects that would be nice ways to develop your own skills with LSL.  I'd suggest spending an afternoon with one or more of the beginning LSL tutorials and then taking a shot at writing them yourself.  It could be very rewarding. If you get stuck, post your work here and ask a specific question about what to do next.

  • Like 1
Link to comment
Share on other sites

Not so easy to be a beginner in scripting...

The script is very simple. It's quite the same as the default script

Script with notecard (you have to insert your notecard, with the script, inside  the object):

 

default{    state_entry()    {        llSetText("Click for Info", <1,1,1>, 1.5);    }    touch_start(integer total_number)   {if (llGetInventoryNumber(INVENTORY_NOTECARD) > 0){llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_NOTECARD, 0));}}}

 Script saying the link in the local chat:

default{    state_entry()    {        llSetText("Click for Info", <1,1,1>, 1.5);    }    touch_start(integer total_number)    {        llSay(0, "Link of my website: http://mysite.com");// Write your website address     }}

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3716 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...