Skip to content

Instantly share code, notes, and snippets.

@nebadon2025
Created November 27, 2014 06:14
Show Gist options
  • Save nebadon2025/7f9d54e65cba29f5bfa0 to your computer and use it in GitHub Desktop.
Save nebadon2025/7f9d54e65cba29f5bfa0 to your computer and use it in GitHub Desktop.
integer count = 5;
default
{
state_entry()
{
llTargetOmega(<0,0,1>,1,1);
llSetTimerEvent(llFrand(1));
}
timer()
{
llSleep(0.65);
llSetColor(<llFrand(1.0),llFrand(1.0),llFrand(1.0)>,
(integer)llFrand((float)llGetNumberOfSides()));
count--;
if(count == 0)
{
count = (integer) llFrand(5.0);
llTargetOmega(<0,0,1>, 1 - llFrand(2.0), 1.0);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment