entrancea
04-01-2008, 12:13 PM
Hey Guys,
I was wondering how I could write a script which would randomize the start frame for all the Point Cache files applied on any object in my scene....
So far all I have is
-------------------------------------------------------------
(
try (destroydialog PointCacheRandomizer) catch()
global PointCacheRandomizer
rollout PointCacheRandomizer "Randomize Point Cache"
(
button Pointcache "Point Cache Applier"
on Pointcache pressed do
(
modPanel.addModToSelection (Point_Cache ()) ui:on
)
button randomizer "Randomize It"
on randomizer pressed do
(
$*.modifiers[#Point_Cache].recordStart = random 1 100
)
)
createdialog PointCacheRandomizer width:200 height:100
)
-------------------------------------------------------------
Thanks and Regards,
Entrancea
I was wondering how I could write a script which would randomize the start frame for all the Point Cache files applied on any object in my scene....
So far all I have is
-------------------------------------------------------------
(
try (destroydialog PointCacheRandomizer) catch()
global PointCacheRandomizer
rollout PointCacheRandomizer "Randomize Point Cache"
(
button Pointcache "Point Cache Applier"
on Pointcache pressed do
(
modPanel.addModToSelection (Point_Cache ()) ui:on
)
button randomizer "Randomize It"
on randomizer pressed do
(
$*.modifiers[#Point_Cache].recordStart = random 1 100
)
)
createdialog PointCacheRandomizer width:200 height:100
)
-------------------------------------------------------------
Thanks and Regards,
Entrancea
