Difference between revisions of "SL Cert - Basic Scripting"

From Second Life Wiki
Jump to: navigation, search
Line 7: Line 7:
 
'''Variables, Types and Constants''' Be able to recognise differant types of variable and how they can be used to store differant types of information. Understand that constants are in essence a "fixed" variable.
 
'''Variables, Types and Constants''' Be able to recognise differant types of variable and how they can be used to store differant types of information. Understand that constants are in essence a "fixed" variable.
  
'''Functions and Parameters''' Recognise functions from their 'll' format and be able to explain why there is the necessity for so many different functions. Understand what a parameter is and why some functions do not require them (but still require brackets).
+
'''Functions and Parameters''' Recognise functions from their 'll' format and be able to explain why there is a necessity for so many different functions. Understand what a parameter is and why some functions do not need them yet still require the brackets.
  
'''States and Events''' Understand what states and events are. Demonstrate this by scripting an object that says something in room chat when touched.
+
'''States''' Understand what a state is and be able to explain why the default state is compulsory. Recognise that a script program essentially has no ending.
  
 
+
'''Events''' Understand what events are and how they can be used to capture input. Demonstrate this by scripting an object that says something in room chat when touched.
Explain the benefits of commenting code and using consistant style. Offer examples of "hello word" script in two different styles.
+
 
+
just ideas.... eek
+

Revision as of 10:52, 12 February 2009

Rationale for scripting Demonstrate an understanding of what scripts are, their limitations and why they are used in second life.

Script creation Show ability to create scripts in both primitives and inventory. Be able to transfer one to the other, set them to running or not and set relevant permissions for them.

Commenting and Clarity Understand the benefits of keeping code legible, using the same style of code writing throughout and commenting where necessary.

Variables, Types and Constants Be able to recognise differant types of variable and how they can be used to store differant types of information. Understand that constants are in essence a "fixed" variable.

Functions and Parameters Recognise functions from their 'll' format and be able to explain why there is a necessity for so many different functions. Understand what a parameter is and why some functions do not need them yet still require the brackets.

States Understand what a state is and be able to explain why the default state is compulsory. Recognise that a script program essentially has no ending.

Events Understand what events are and how they can be used to capture input. Demonstrate this by scripting an object that says something in room chat when touched.