View Single Post
# 4 19-03-2004 , 05:07 PM
jezzaH's Avatar
Registered User
Join Date: Feb 2004
Location: Bristol, UK
Posts: 12
try this:

Make a sphere, called nurbsSphere1

enter the following expression:


if (noise(frame) > 0.5)
{
setAttr "nurbsSphere1.visibility" 1;
}
else
{
setAttr "nurbsSphere1.visibility" 0;
}



the 0.5 value represents the frequency of blinking.
Values between 0 and 1.
0.9 very intermitently on.
0.1 very intintermitently 0ff


Note :

if you want light to stay on for a few frames then its a bit more tricky.