Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Suggestions & Requests
»
Mixed Events
« previous
next »
Print
Pages: [
1
]
Author
Topic: Mixed Events (Read 445 times)
Viper
April 21, 2010, 06:14:22 PM
Is there a way to mix events up so there is no telling when one event can happen or the other? An example would be if I were to toss a coin, I can either get heads or tails and there would be no pattern. This can be helpful for many things.
Ad Bot
Advertisement
Pliny
April 21, 2010, 06:36:42 PM
I believe this is do-able with VCE, but I'm not sure how. I think it's an event called "ifRandomDice, which "rolls" a virtual die and gets a random result. Then another event could be rigged to activate when the die lands on a certain value.
Viper
April 21, 2010, 06:45:39 PM
Thanks, I will try this.
Amade
April 21, 2010, 07:21:04 PM
ifRandomDice no longer exists. What you do to simulate it is
set
a variable on the brick to the minimum random number, then
randomize
it with the number setting being the maximum random number. Then you check the random number and trigger events accordingly.
phflack
April 21, 2010, 08:08:22 PM
random variables, as amade said, with VCE
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Suggestions & Requests
»
Mixed Events