Quote from
mazzu001 on September 23, 2019, 12:26 am
So I am just testing things out. Just wanted to get a random number between a min and max number. So I made 2 text input objects. One with the variable [min] and one with the variable [max]. In a button action I put the following code:
RandomEx [min] [max] [x]
Math "[z]-[x]" 0 [z]
I have the [min] set to 5 ad the [max] set to 55
[x] gets results varying from 67 to 2479 in a few tries. Not even remotely close to anything that makes sense.
So I am just testing things out. Just wanted to get a random number between a min and max number. So I made 2 text input objects. One with the variable [min] and one with the variable [max]. In a button action I put the following code:
RandomEx [min] [max] [x]
Math "[z]-[x]" 0 [z]
I have the [min] set to 5 ad the [max] set to 55
[x] gets results varying from 67 to 2479 in a few tries. Not even remotely close to anything that makes sense.