I need to get a random number that is -20 OR 500, not a range, I need it every tick.

I already tried with the | operator but I don't think it works this way

Thanks

11 posts
• Page **1** of **2** • **1**, 2

There is an OR plug in you could look into. :)

Or perhaps you could force the range to result in 500 with a little math.

I could also see a variable driven solution,

random, if result > than X, variable = -20

random, if result < than X, variable = 500

Khaz 2012-01-28 01:04:45

Or perhaps you could force the range to result in 500 with a little math.

I could also see a variable driven solution,

random, if result > than X, variable = -20

random, if result < than X, variable = 500

**Posts:**110**Reputation:**2,410

B

11
S

3
G

2
**Posts:**555**Reputation:**13,009

B

81
S

50
G

10
11 posts
• Page **1** of **2** • **1**, 2

## Who is online |

Users browsing this forum: Google [Bot], h1k3, Unconnected and 0 guests |