Syntax for random
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
0
Comments
-
Oh darn, I had two parentheses at the end of the line - geez and lol.
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 723 Tech Talks
- 3.8K Native Access
- 15.6K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.4K Kontakt
- 1.5K Reaktor
- 360 Battery 4
- 803 Guitar Rig & FX
- 410 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.4K Maschine
- 6.9K Traktor
- 6.9K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators