<
Table of Contents>
Solutions To Challenges
Such accidents I have always taken philosophically, looking on them as a kind of insurance against more terrible ones.
- Alberto Santos-Dumont, 1904
We hope that you are looking at this solutions page out of idle curiosity, after solving a challenge yourself -- not too quickly nor too easily, but with just enough effort to yield a pleasant glow of achievement and an enhanced understanding of LSL.
If that is not the case, and on the contrary you are stuck, frustrated, and about to call it a night, then we hope that these solutions will help you master the situation! And we hope that you will now
contribute to this wiki to better explain the point that was bothering you, and smooth the path for those who follow!
States And Events Challenge: Tickle Box
The point of this challenge is to use states and events, the backbone of every LSL script, to model successive stages of in-world behavior. A sub-point is to give practice in using the Wiki Search to look up functions.
- Instead of function llOwnerSay you could use llSay or llWhisper. I chose llOwnerSay in a bid for less chat-spam in-world. Only the object's owner can hear llOwnerSay. Note that llOwnerSay needs no channel parameter.
- Instead of function llResetScript, you could use command state default; . But, this way, you get to look up another function. 8-)
<
Table of Contents>
Homepage |
LSL101 |
Tutorial |
CrashCourse |
Glossary