Difference between revisions of "SL Cert - Basic Scripting"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
'''Rationale for scripting''' Demonstrate an understanding of what scripts are, their limitations and why they are used in second life.
'''Rationale for scripting''' Demonstrate an understanding of what scripts are, their limitations and why they are used in second life.


'''Creation''' Show ability to create scripts in both prims and inventory. Be able to transfer one to the other, set them to running or not and set relevant permissions for them.
'''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.


Introduction to types, variables and constants.
'''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.
Introduction to functions and operators.
 
'''Functions and Operators'''
 
'''States and Events''' Understand what states and events are. Demonstrate this by scripting an object that says something in room chat when touched.


Explanation of STATES and EVENTS using simple touch object to display "hello world" in chat.


Explain the benefits of commenting code and using consistant style. Offer examples of "hello word" script in two different styles.
Explain the benefits of commenting code and using consistant style. Offer examples of "hello word" script in two different styles.


just ideas.... eek
just ideas.... eek

Revision as of 11:19, 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 Operators

States and Events Understand what states and events are. 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