Blockland Forums > Suggestions & Requests
Set Random Print Event
<< < (2/3) > >>
GenaralSkar:
What I was hoping for was 3 prints, pull down a lever, and variables events for jackpot. Had this idea a while ago, but couldn't finished because I needed random print event.
zenloth:
I don't know if you can use variable replacers in print events, but you could try it.

Using my example of variables...

NamedBrick[firstprint]>SetPrint(is this the right event?)>[var:br:Var1]
NamedBrick[secondprint]>SetPrint(is this the right event?)>[var:br:Var2]
NamedBrick[thirdprint]>SetPrint(is this the right event?)>[var:br:Var3]

This may not work, for a few reasons....
1. The brick variables my try to pull it from the named brick rather than the brick the variables are stored on
Workaround - Assign the variables to player/client

2. Variable replacers can't work in the real name of whatever that print event is...
Workaround - I don't immediately know, ask someone else =3.

If this isn't solved by the time I wake up, I'll have a look at bashing together one myself.
shortazn97:
I also remember that the setPrint was failed...why?

This could be very useful C:
GenaralSkar:

--- Quote from: zenloth on April 13, 2010, 10:01:51 PM ---I don't know if you can use variable replacers in print events, but you could try it.

--- End quote ---
In the old variables there was ifprint so I think it's on VCE.
phflack:
try random variables, 3 different ones, making them random between 1 and 3, then if the first variable is 1, set print to 1, if 2, set to 2, if 3, set the print to 3, and same thing with the others, then you will need to check the variables to eachother
Navigation
Message Index
Next page
Previous page

Go to full version