Syntax for random

rootstudio
rootstudio Member Posts: 6 Newcomer

I want to do something depending on the value of a ui_slider and my script chokes on this line. What's wrong with this syntax?

If ( random (0, 1000000) < $myvalue))

[...]

end if


Thanks,

Stefan

Comments

  • rootstudio
    rootstudio Member Posts: 6 Newcomer

    Oh darn, I had two parentheses at the end of the line - geez and lol.

Back To Top