Adverti horiz upsell

get true or false, throughtime in defined intervals 0.1.0 for Maya (maya script)

get true or false, throughtime in defined intervals

Button download


  • 2010, 9.x, 2009, 2008, 8.x

Operating Systems

  • Linux
  • Mac
  • Windows


Last Modified:12/24/2009
File Size: 1.01 KB


throug, time, interval

// get true or false, throughtime in defined intervals v0.1 Dec 24, 2009
//          This is a simple Script returns a boolean value, 1 or -1 in this case, within each continuing 25 frames.
//          So that you can esily bind some stuff which need to alter continually within defined frames.
//         I wrote this script because I needed the gravity to change in each 25 frames, to create a waterlike effect for the cloth of a character.
//         when you define $oscilateframeinterval = 45 for example, the script will change its values in each 45 frames continually.
//        Simply go into the expression editor for the prameter that you want to bind.
//        for example you want to bind sphere translateX to 1 or -1, so
//        paste this code, and add the following line to the end :
//        sphere.translateX == $gravitydirection;
//        here i didnt change the name for the varible "$gravitydirection", in case it will be easier for you to understand the variable
//        keeping in mind the reason it was created for...

//        This script may be freely distributed in its unmodified form!
//        This script may be nonse to some people as well as worthy to others, i am jsut trying to get better, and share the knowledge..
//        Gokhan Ertem
//        LAMA Productions
// COPYRIGHT: Gokhan Ertem

Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.