// 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.
// INSTALLATION INSTRUCTIONS:
// 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...
// ADDITIONAL INFORMATION:
// 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