Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- integer toggle;
- default
- {
- state_entry()
- {
- llSetTimerEvent(1);
- }
- timer()
- {
- toggle=!toggle;
- if(toggle) llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.05]);
- // the first zero after PRIM_GLOW indicates the top side. Change it
- // to 1 - 5 to light up the other sides, or use ALL_SIDES instead.
- else llSetPrimitiveParams([PRIM_GLOW, ALL_SIDES, 0.0]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement