Difference between revisions of "Scripting Certification/Core"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 40: Line 40:
** Stack
** Stack
** Heap
** Heap
* Event queue limits
* Event timing
* Weird Syntax bugs
* Weird Syntax bugs
** Nesting lists runtime error
** Nesting lists runtime error

Revision as of 09:03, 30 April 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.

User Interaction

Chat

  • 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

Dialog

  • How to make a dialog box
  • How to receive and filter the response of dialog boxes

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