Difference between revisions of "Scripting Certification/Core"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{LSL Header|[[:Category:Certification|Certification]] >> [[Scripting Certification]]}}
{{LSL Header|ml=*|[[:Category:Certification|Certification]] >> [[Scripting Certification]]}}
<div style="float:right">__TOC__</div>
<div style="float:right">__TOC__</div>


All Intermediate and Advanced [[Scripting Certification]]s require a Core Scripting Certification.
There are two core certifications [[{{PAGENAME}}/Basic|Core:Basic Scripting Certification]] and [[{{PAGENAME}}/Intermediate|Core:Intermediate Scripting Certification]].
 
=Study Guide=
* Recommended tools
** [http://w-hat.com/lslint lslint]
== Syntax & Logic ==
=== Comments ===
*comment syntax
*When to use comments
=== Conditionals ===
*[[if]] syntax
**chained if-else syntax
*[[for]] loops
*[[while]] loops
*[[do while]] loops
=== Events ===
*[[event]] syntax
=== 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
== {{LSLGC|Permissions/Asset|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 ==
=== {{LSLGC|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
=== {{LSLGC|Dialog}} ===
* How to make a dialog box
* How to receive and filter the response of dialog boxes
=== {{LSLGC|Instant Message}} ===
* How to send an instant message
== Script Communications ==
=== {{LSLGC|Chat}} ===
* How to send chat so that other scripts can hear it
* How to receive chat from objects and how to filter it
=== {{LSLGC|Link Message}} ===
* How to send [[link_message]]s and receive them
=== {{LSLGC|Email}} ===
* How to send emails to other prims in SL.
== Documentation Styles ==
* Common ways of commenting code
* Common ways of writing documentation

Latest revision as of 15:29, 24 October 2008