Author Topic: Event - Random Number  (Read 4979 times)

Random Number Event

A simple event that gets a random number between [min] and [max].

Syntax is as follows
Code: [Select]
onActivate -> self -> getRandom [max] [min] [number to check for]
onRandomTrue -> ...
onRandomFalse -> ...

Download: https://dl.dropboxusercontent.com/s/hvxtxlpuu5bwq09/Event_Random.zip
« Last Edit: January 13, 2015, 01:17:13 AM by Darksaber2213 »


so simple, yet so useful...

surprised VCE has nothing like this (other than random dice)


so simple, yet so useful...

surprised VCE has nothing like this (other than random dice)

but VCE does have random... It's either retrocheck>random or modvariable>random


but VCE does have random... It's either retrocheck>random or modvariable>random
This is much easier to use.

Is it really random or psuedorandom

this is one of the most useful events in the universe
also welcome back :))

but VCE does have random... It's either retrocheck>random or modvariable>random
VCE no longer is downloadable unless someone has a copy of it. VCE is also broken as well. This is more efficient.

This is an extremely useful add-on in many ways

Is it really random or psuedorandom
It's pseudorandom. It uses the built in getRandom function provided by TGE, which really is nowhere close to being truly random.

But for most practical purposes, it's more than random enough.
« Last Edit: January 07, 2015, 12:27:21 PM by Ipquarx »

praise our savior

rng

p useful


So is it like any number, any integer, or any value at certain numerical intervals.