Blockland Forums > Help
How do you change a variable to a random number in VCE?
(1/1)
ScratchTehEPICSpaceDude:
Like for example I want to change var1 to a  number 1-5.

How do i do that?
Port:
Use "Set" to change it to 1, then use "Random" to change it to 5. It'll be a random number between 1 and 5.
ScratchTehEPICSpaceDude:

--- Quote from: Port on June 08, 2012, 07:34:21 AM ---Use "Set" to change it to 1, then use "Random" to change it to 5. It'll be a random number between 1 and 5.

--- End quote ---

Oh well thanks! Didn't know it was THAT easy.
Navigation
Message Index

Go to full version