Announcement

Collapse
No announcement yet.

Random offset point cache start time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

    -Tom

  • #2
    a quick one:

    Code:
    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
    This signature is only a temporary solution

    Comment


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


      -Tom

      Comment


      • #4
        I get an error saying "--Unable to convert: undefined to type: Array"

        I have no idea what this mean..

        -tom

        Comment


        • #5
          you need to have objects selected before running the script...
          Marc Lorenz
          ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___
          www.marclorenz.com
          www.facebook.com/marclorenzvisualization

          Comment

          Working...
          X