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
- 735 Tech Talks
- 3.9K Native Access
- 15.8K Komplete
- 1.9K Komplete General
- 4.1K Komplete Kontrol
- 5.5K Kontakt
- 1.5K Reaktor
- 364 Battery 4
- 816 Guitar Rig & FX
- 416 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.5K Maschine
- 7K Traktor
- 7K 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