Poll

Good idea?

Yes!
maybe.
I dont see any uses in this.
No.
Quit!

Author Topic: Event randomise output  (Read 1448 times)

Yeah.
So I was messing with VCE, and I made a bunch of U. mining mod ores with events.
After making a diamod (OK OK this one is minecraft) I started making a lotto block.
Aaaaaaand then I stuck, becose I cant make it to randomise what you get.

So I started searching for a ranbomiser event. But I didn't found anything. I would make it myself but I very new to scripting
Im happy if I can make a gun have bigger damage.
I imaged this event like this:

  • [On active] ==> [self] ==> [Randomise output]  [1 2 3 4]


This would randomise event line 1, 2, 3, and 4, with equal chances.

This would be usefull in many ways, like lottos, and even to ranbomise what zombie would eat your brainz.


Thanks: Me.  :cookieMonster:
« Last Edit: August 20, 2011, 08:43:57 AM by SgtDaemon »

Also no first comment nobbing please.
 :cookie:

I was thinking of this.

Support.

There's a random event function in VCE but it has always confused me. It doesn't work in any logical way.


Also no first comment nobbing please.
 :cookie:
Nobody cares about having the first comment unless the thread is worth having the first post. This is one of those threads where nobody cares about first comment.

Nobody cares about having the first comment unless the thread is worth having the first post. This is one of those threads where nobody cares about first comment.
:c.
I knew that someone will post something like this :3
BTW
http://forum.blockland.us/index.php?topic=119287.0
LOL thanks.

I am in desperate need of this.

there's a random number generating thing in VCE, use it then check the variable
it's something like input>target>vce_modvariable[name][rand][max number]
it takes the variable of name, uses the current value of the variable as the min number, and the max number given, and then generates a random number between and including them