Author Topic: new event setprintcount  (Read 734 times)

basicly it allows you to set the print number of a brick be good with vce

« Last Edit: March 10, 2012, 09:51:53 AM by popman98 »

Search before posting
http://forum.blockland.us/index.php?topic=43133.0
That's a completely different thing.

Edit: But I'm pretty sure setPrintCount is default in the game anyways.

That's a completely different thing.

Edit: But I'm pretty sure setPrintCount is default in the game anyways.
Oh stuff I saw wrong.

no like on activate self setprintcount <var:br:number> then it would show the number like the actual print would be the varible do you get it so on activte self setprintcount 2 then the bricks print will say 2


why not just do
Code: [Select]
onactivate>self>setprintcount[2]
onactivate>self>vce_modvariable[brick][number][set][2]
?

why not just do
Code: [Select]
onactivate>self>setprintcount[2]
onactivate>self>vce_modvariable[brick][number][set][2]
?
there is a setprintcount event?

edit so there is ok so how would i display a varible on that the var will be a number
« Last Edit: March 11, 2012, 04:25:48 AM by deathrider »


there is a setprintcount event?

edit so there is ok so how would i display a varible on that the var will be a number
Okay, this has been said before but i will repeat it and hope you get it.
Given:
Brick A - Printbrick, on which you want to show the variable number.
Brick B - Brick that you want to event so that it shows the variable on A.

Now, let's say we want to print 2 on A when we activate B.
We will have to event brick B like this.
Code: [Select]
onActivate>A>setPrintCount[2]
onActivate>A>vce_modvariable[brick][number][set][2]
This way, A displays 2 and will have a VCE variable (called number) that is also set on 2.

Of course, if you want to use this in a more dynamic way, you need a different approach indeed.
Such as, calculating stuff based on dynamically changing numbers (like score, deaths whatever) and want to display that on a printbrick.

there is a setprintcount event?

edit so there is ok so how would i display a varible on that the var will be a number
it's default, just like incriment/decriment printcount

either do what i said before, or do mod 10 of the variable and check for the answers, 0-9, and then set the printcount accordingly


I think he wants to print the variable on the brick.

I think he wants to display the brick's printcount on like a centerPrint or something.

what i need is when i click a brick it does vce and does random then whatever that number is from random it will set that print to the print brick

do mod 10 of the variable and check for the answers, 0-9, and then set the printcount accordingly