SL Cert - Intermediate Scripting

From Second Life Wiki
Revision as of 16:58, 1 March 2009 by Zai Lynch (Talk | contribs)

Jump to: navigation, search

Work in progress

Loops and Flow Show an understanding of the for, do, do while and while loops. Also be able to recognise labels and jump command. (note: may be helpful to cover how loops hold back a new event from being triggered ie delays progression to end of current event. Surprises me how few people realise this. Mention event queues??)

Dataserver Show an understanding of the dataserver event and why there is the use of a handler key. Also understand the similarity between of these functions: llGetNotecardLine() llGetNumberOfNotecardLines() llGetllRequestAgentData() llRequestInventoryData() llRequestSimulatorData() (may also be worth noting that dataserver events can also be triggered from other scripts residing in the same prim)

Lists Be able to understand the concept of how various forms of data can be held simultaneously in a list. Understand that lists can grow in length and that their index always starts at zero.

Sensors Show an understanding of the use for sensors, the different "types" available and be able define a scan direction using arc. Also be aware of the subtle differences between llSensor() and llSensorRepeat() (nb there is more to this than one being timer based) (nb time required for 100% consistant scan which does not miss an item appears to be linked to range)(nb llSensorRepeat() is capable of detection in adjacent sim)

Object-to-object communication Show an understanding of object intercommunication via chat channels. Be able to explain the reason for llListen() handles and the benefit of using negative channels.

Prim-to-prim communication Show an understanding of prim intercommunication via link message. Understand the many benefits of this system over the object-to-object method.

Rotations Understand the difference between local and global rotation. Be able to convert euler to quaternions and degrees to radians. (much more required here... Grandma Bates excellent work needs inclusion)

Sitting Understand how to set a sit target position, rotation and control camera offsets. Be able to detect the avatar sat on a prim and unsit them. Recognise how being sat automatically allows acceptance of some permissions. Understand how the sit offset can be used to produce a teleport effect.

Permissions/Script Show an understanding of how various permissions can be obtained via script. (Debit, Controls, Anim, Attach, Links, Camera track, Camera control)

Animations Demonstrate an ability to obtain permissions and animate an avatar. Understand the format for upload of relevant animations and their priority settings. (nb mention internal animations ability to animate things .bvh file cannot. ie face etc?)

Camera tracking and control Understand how once permissions are obtained, an avatars camera position and rotation can be monitored and controlled.