Difference between revisions of "Scripting Certification/Core/Basic"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 48: Line 48:
* Pass by Value '''everywhere'''
* Pass by Value '''everywhere'''
* Putting a ';' at the end of a conditional.
* Putting a ';' at the end of a conditional.
== User Interaction ==
== Send Messages to User ==
=== {{LSLGC|Chat}} ===
=== {{LSLGC|Chat}} ===
* How to send chat for the user to hear
* How to send chat for the user to hear
* How to receive chat from objects and users
* How to send chat that only the owner can hear
* How to send chat that only the owner can hear
=== {{LSLGC|Dialog}} ===
=== {{LSLGC|Dialog}} ===
* How to make a dialog box
* How to make a dialog box
* How to receive and filter the response of dialog boxes
=== {{LSLGC|Instant Message}} ===
=== {{LSLGC|Instant Message}} ===
* How to send an instant message
* How to send an instant message
== Script Communications ==
== Script Communications ==
=== {{LSLGC|Chat}} ===
=== {{LSLGC|Chat}} ===

Revision as of 19:38, 4 May 2007

All Intermediate and Advanced Scripting Certifications require a Core Scripting Certification.

Study Guide

Syntax & Logic

Comments

  • comment syntax
  • When to use comments

Conditionals

Events

Functions

  • function syntax
  • How to call a function

States

  • state syntax
    • How to define a state
    • How to call a state

Debugging

  • How to find bugs in scripts
  • How to track down bugs in script communications

Asset Permissions

  • How to set permissions on assets
  • Why setting permissions on assets is important

Setting Properties

  • How to use functions that set prim/object properties
  • How to read prim/object properties

LSL Caveats/Constraints

  • Memory constraints
    • Bytecode
    • Stack
    • Heap
  • Event queue limits
  • Event timing
  • Weird Syntax bugs
    • Nesting lists runtime error
    • Multiple event definitions of the same type
    • jump bug
  • Pass by Value everywhere
  • Putting a ';' at the end of a conditional.

Send Messages to User

Chat

  • How to send chat for the user to hear
  • How to send chat that only the owner can hear

Dialog

  • How to make a dialog box

Instant Message

  • How to send an instant message

Script Communications

Chat

  • How to send chat so that other scripts can hear it
  • How to receive chat from objects and how to filter it

Link Message

Email

  • How to send emails to other prims in SL.

Documentation Styles

  • Common ways of commenting code
  • Common ways of writing documentation