Jump to content

How to make an object that can give a message in the chat?


Inpumose
 Share

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

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

Recommended Posts

Step One:  Create an object.  Any object will do, so rez a plywood cube.

Step Two:  Select the object with your Build/Edit tool and navigate to the Content page.

Step Three:  Click the New Script button.  That will create a new script.

Step Four:  Open the new script by double clicking on it.  It looks like this:

default{    state_entry()    {        llSay(0, "Hello, Avatar!");    }    touch_start(integer total_number)    {        llSay(0, "Touched.");    }}

Step Five: Select the word "Touched" and replace it with your specific message, in the quotes.

Step Six:  Click Save and then close your editor.

When you left click on your plywood cube, it will say your specific message in chat.  :smileywink:

That will get you started.  To get farther down the road, slowly, begin here >>> http://wiki.secondlife.com/wiki/A_Basic_LSL_Tutorial

 

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3537 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...