Scripting Certification/Core/Basic

From Second Life Wiki
Jump to navigation Jump to search

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.
  • How to read incoming emails.

Documentation Styles

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