Blockland Forums > Suggestions & Requests
Set Random Print Event
(1/3) > >>
GenaralSkar:
Would be good for slot machines.
Loopyla1:
You can do this with VCE.
GenaralSkar:
What events?
Loopyla1:
Can't remember. Ask someone who's actually GOOD with VCE.
zenloth:
Something along the lines of displaying variables like this
Set all variables to 0
VCEmodVariable > [Brick] [Var1] [set] [0]
VCEmodVariable > [Brick] [Var2] [set] [0]
VCEmodVariable > [Brick] [Var3] [set] [0]

Make them random number between 0 and 10
VCEmodVariable > [Brick] [Var1] [Random] [10]
VCEmodVariable > [Brick] [Var2] [Random] [10]
VCEmodVariable > [Brick] [Var3] [Random] [10]

Display the "slotmachine" style number
Client > CentrePrint > [Your generated slot machine is :<var:br:var1><var:br:var2><var:br:var3>]

Could even do like jackpot style things with subsystem
VCEifValue > [<var:br:var1>] [==] [9] {2 2}  - Not right subsystem value
OnVariableTrue > VCEifValue > [<var:br:var2>] [==] [9] {3 3}
OnVariableTrue > VCEifValue > [<var:br:var3>] [==] [9] {4 5}
OnVariableTrue > VCEmodVariable > [client] [credits] [add] [200]
OnVariableTrue > Client > [All the 9s! You win 200 credits! Your credits is now <var:cl:credits>]

Very cut down events, but hopefully that gives you the idea.
Navigation
Message Index
Next page

Go to full version