LordHorusNL 0 Posted May 12, 2006 Does anybody know if the "animPeriod" of an object can be changed by using a script? I'd like to make the selection rotate at a normal speed and by using a script make it rotate faster/slower. Thanks Share this post Link to post Share on other sites
UNN 0 Posted May 12, 2006 You can't vary the animPeriod, but you can vary how often the animation executes each phase. AFAIK, in the config you would have to set the animations animPeriod to 0. Then in your script run something like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_Phase=0 _PInc=0.01 #Loop _Object Animate ["Anim",_Phase] _Phase=_Phase+_PInc ~0.001 If (_Phase<1) Then {goto "Loop"} To change the animation speed you would change the variable _PInc. Increase _PInc to increase the animations speed e.t.c The above is by no means complete, but there should be enough to get you started. Share this post Link to post Share on other sites
LordHorusNL 0 Posted May 12, 2006 Great thanks i'll give it a shot. Anymore idea's are always welcome.! Share this post Link to post Share on other sites