Jump to content

How to start a script.


Bigby McDonnell
 Share

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

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

Recommended Posts

Hello guys! Well, I opened this topic because I think this could help new scripters like me. I downloaded a LSL Guide (pdf archive) and this contains basic things of LSL... States, Functions, Arithmetic Operations, LSL Types, Conditional Statements, etc. Therefore one day I tried to make a simple script  BUT there was the problem, How to start a script? I did not know how to start, what I needed to declare, what functions I would use. So would be nice that the experienced scripters help us (the new scripters) and tell us how to start. I do not know if there is a method but I'll be glad if you post how you start a script or something like that. Beforehand thanks!

Link to comment
Share on other sites

A script can only run in a rezzed prim
The easiest way to see how, is like this:

  1. Rez a new prim
  2. Right click and choose Edit
  3. Open the Content folder
  4. Click the 'New Script' button

Now you have a running script, the default script

You can open it and see what it looks like and each time you click the prim it will say hello to you

:smileysurprised::):smileyvery-happy:

 

Link to comment
Share on other sites

It sounds like you already have the answer.  You bought a book.  Just dive in.  If you need anything more, I'd suggest two other steps:

1. Try working through any of the tutorials in the LSL Portal at wiki.secondlife.com and

2. Get some simple freebie scripts and start taking them apart to see what makes them tick.

Ultimately, the best way to learn is to have a project to work on.  Find something worthwhile and not discouragingly complicated and just do it.  If you get stuck, post what you have done here.  Someone will offer pointers.

Link to comment
Share on other sites

Oh thats sounds great. You have reason. Indeed I had the idea, I had the idea of what I wanted to do... what functions I wanted to put in the object but I did not know how to capture the idea in the script. I'm gonna try the suggestions you gave to me. Thanks much!

Link to comment
Share on other sites

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