Difference between revisions of "Talk:Getting started with LSL"

From Second Life Wiki
Jump to navigation Jump to search
(Code sample doesn't match what the article is saying)
(RESET SCRIPTS IN SELECTION" etc. is greyed out)
Line 26: Line 26:


Where's the two comments?
Where's the two comments?
== RESET SCRIPTS IN SELECTION" etc. is greyed out ==
How do I activate these options ?

Revision as of 07:30, 26 August 2007

Is there a reason the code isn't indented? I badly whitespaced code makes it hard to sit still; like walking into someones house and finding a picture hanging crooked on the wall. Maybe whitespace should be mentioned somewhere in the article too... Strife Onizuka 09:41, 1 February 2007 (PST)

Moved the page, it's all the rage to have spaces in names. As to the capitalization of the name thats not my can of worms. Strife Onizuka 09:46, 1 February 2007 (PST)

Code sample doesn't match what the article is saying

A Closer Look

Lets take a look at the default code.

default {

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

}

The code above contains 2 comments, 1 state, 2 events and 2 functions. Lets look at them individually.


Where's the two comments?

RESET SCRIPTS IN SELECTION" etc. is greyed out

How do I activate these options ?