Difference between revisions of "User:EdsonMG Anthony"
Line 40: | Line 40: | ||
[[PRIMEIRA DICA DE LSL (Linguagem de Scripts do Second Life)]] | [[PRIMEIRA DICA DE LSL (Linguagem de Scripts do Second Life)]] | ||
Good afternoon readers! In this post I'll show you how to start in making your first LSL script. Start with a simple creation, just so you understand how to do easily. First teleport to a sandbox, or to your home, or somewhere where you can create (check the icon box with sign prohibited in bar name of SL above the window). Done, click the ground to create a prim no. Check how to make this link, or in the SL wiki. | |||
http://technologyaecompanya.blogspot.com/2009/10/construcao-no-second-life-introducao-e.html | |||
When creating the object, click the right mouse button on it, and edit, ready, you will see the toolbox. In it there are several guides, which we will address in this post is the Contents tab. It is in this guide put the contents of prims or objects, and scripts that will make objects work in Second Life. Well, here's the script. Notice that there is a new button, click it. Automatically, you will create a script called "New Script", you can also create scripts for inventory and drag it to guide the content of any object. Click twice on "New Script", and realize that there are already some lines of code ready, this is standard SL, so that it becomes a bit of obvious. | |||
Example: | |||
default / / This is the basic structure of all the scripts, everyone has the structure of default (default) | |||
{// Keys: They delimiters programming blocks, all blocks should be opened and closed () ... | |||
state_entry () / / This event represents the initial state of each structure, will be triggered upon entering the structure above (default) | |||
{ llSay (0, "Hello, Avatar!") / / llSay is a default function of the SL receives parameters (0, "Hello, Avatar!") for performing actions in this case, it speaks in general channel chat (0), the message "Hello, Avatar!"). | |||
} | |||
touch_start (integer total_number) / / touch_start The event will be fired to hit the object, means that when you play a certain prim or object he held the command in braces. | |||
{/ / The word integer is reserved, used to declare variables of type integer in SL. | |||
llSay (0, "Touched") / / When you touch the object, it sends the message "played" in the general chat channel 0 (zero). | |||
} | |||
} | |||
Well, for the day, awaiting new posts. | |||
Revision as of 08:20, 17 October 2009
CURRICULUM
BUILDER, SCRIPTER, DESIGNER IN SECOND LIFE. SYSTEMS ANALIST IN REAL LIFE, KNOWLEDGE IN C++, JAVA, VB6, PASCAL(DELPHI),SQL SERVER(AND OTHERS DATA BASES), SOLIDWORKS, AUTOCAD... DO YOU NEED SOME HELP ? PLEASE, TALK WITH ME.
MY FIRST POST
Well people, I hope to help you with this page. In here you can talk about, everything in Second Life. This wonderful world of Entertainment, Business and learning. Wait the next post. Thanks to read.
SECOND LIFE A STRONG TOOL
Hi people, I'm here today to talk about the use of Second Life. The most of residents only use this tool to dating and nonsense things. I think that the people spend this strong tool with things useless. Let's together make it better place, where residents use Second Life to show creativity, and maybe can work in here, and get money to Real Life. Let's report all the people that steal, and disturb the noobs.
HINT 1
To report a bad people (Avatar) you have to: help->report abuse, so, mark include photo, select the category, select the resident, and, in the summary, describe exactly what happend. With place and the most of details as possible.
FIRST LSL HINT
To learn about LSL, you have to know about variables, spaces reserved, where you can load with values that allows you to work making mathematical operations, comparisons and others. You can learn a lot in the menu help ► scripts portal...Frequently I'll put hints in this page. Well, see you later...
PRIMEIRA DICA DE LSL (Linguagem de Scripts do Second Life)
Good afternoon readers! In this post I'll show you how to start in making your first LSL script. Start with a simple creation, just so you understand how to do easily. First teleport to a sandbox, or to your home, or somewhere where you can create (check the icon box with sign prohibited in bar name of SL above the window). Done, click the ground to create a prim no. Check how to make this link, or in the SL wiki.
http://technologyaecompanya.blogspot.com/2009/10/construcao-no-second-life-introducao-e.html
When creating the object, click the right mouse button on it, and edit, ready, you will see the toolbox. In it there are several guides, which we will address in this post is the Contents tab. It is in this guide put the contents of prims or objects, and scripts that will make objects work in Second Life. Well, here's the script. Notice that there is a new button, click it. Automatically, you will create a script called "New Script", you can also create scripts for inventory and drag it to guide the content of any object. Click twice on "New Script", and realize that there are already some lines of code ready, this is standard SL, so that it becomes a bit of obvious. Example: default / / This is the basic structure of all the scripts, everyone has the structure of default (default) {// Keys: They delimiters programming blocks, all blocks should be opened and closed () ...
state_entry () / / This event represents the initial state of each structure, will be triggered upon entering the structure above (default)
{ llSay (0, "Hello, Avatar!") / / llSay is a default function of the SL receives parameters (0, "Hello, Avatar!") for performing actions in this case, it speaks in general channel chat (0), the message "Hello, Avatar!"). } touch_start (integer total_number) / / touch_start The event will be fired to hit the object, means that when you play a certain prim or object he held the command in braces. {/ / The word integer is reserved, used to declare variables of type integer in SL.
llSay (0, "Touched") / / When you touch the object, it sends the message "played" in the general chat channel 0 (zero).
} }
Well, for the day, awaiting new posts.
Best Regards, EdsonMG Anthony