A long time ago, I posted a script system to make butterflies appear when the sun came up in SL, and disappear when it went down. The system consisted of a script to place in some copy/mod butterflies available on the marketplace, and a script to rez them and delete them at the appropriate times. […]
LSL
My Scripting Workflow
Introduction A while ago, I described my switch to a new scripting workflow. That article explained to my customers why I was re-releasing a lot of my products with no functional change, and that due to my changed workflow, solving bugs they might encounter could be slower than was previously the case. This article is […]
Script memory
Thinking about script memory in LSL is very important. In Mono, which is the modern script engine, each script gets 64K of memory allocated by default. This is true even if the script uses only a few kilobytes of memory. With thousands of scripts in a region, this can easily consume all the memory allocated […]
Basic animation chooser
Sometimes, you just need something simple to pick an animation to play. Here’s a script to do just that. Rez a prim, drop this script in it, and a bunch of animations, then take and wear it as a HUD. When you touch it, it will offer you a dialog where you can play any […]
Butterflies, part 2
Update: The script included in this post has been updated. Please see this blog post to get the improved version. Yesterday we talked about a script to add to some cheap copy mod butterflies available on the marketplace to prepare them for use in a rezzer. Today, we’ll look at the rezzer script and how […]
Butterflies, part 1
Update: The script included in this post has been updated. Please see this blog post to get the improved version. Butterflies don’t fly at night, have you noticed? Lots of builders just rez some and leave it at that. Let’s see if we can get some realism. I’ll wait while you go and buy some […]