Page 1 of 1

Animationscript rejects randomvalues?

Posted: 07 Sep 2011, 14:36
by PicassoCT
Well i try to put a function inside a function

For example

Turn (blabla, x_axis,math.rad(random(23,25)),3)

This is constantly rejected. Why no recursing? Forbidden, or am i doing it wrong? Calling a function to deliver a value, and then setting the very same into the Turn Comando works perfectly. So no real problem, just wonderin...

Re: Animationscript rejects randomvalues?

Posted: 07 Sep 2011, 14:45
by knorke
random -> math.random

Re: Animationscript rejects randomvalues?

Posted: 07 Sep 2011, 14:52
by PicassoCT
yeah, thats a typo, if you look out of the window, thats a typo, if you look on my sandals, you get typoed..

Re: Animationscript rejects randomvalues?

Posted: 07 Sep 2011, 14:57
by knorke