Random offset point cache start time

Hi, does anybody know if there are a script out there setting the start time on the point cache modifier at a random number?
Any scriptcompetent people want to script this for me?

I am using max5.2 :sweat_smile:

-Tom

a quick one:


objs = $
objs as array

for i = 1 to objs.count do
(
framerange = random 0 100
objs[i].modifiers[#Point_Cache].time = framerange
)

edit the framerange, select your pointcached objects and there you go.

greetings,
michael

Hey thanks alot, I am not at work right now, but will test it as soon as I can..

-Tom

I get an error saying “--Unable to convert: undefined to type: Array”

I have no idea what this mean..

-tom

you need to have objects selected before running the script…