Author Topic: setprinttext that prints out VCE values  (Read 1179 times)

pretty much the title

not sure if this is the right board for this kind of stuff, but oh well

incase anyone doesn't know, setprinttext basically lets you, well, print out text into a string of print bricks.
unfortunately, this doesn't work with VCE variables

so i was hoping someone could look into it

setprinttext can be found at the RTB megadump i think

so yeah, if anyone did it or provided an alternative to it, that'd be wonderful <3

this would be very nice to have but here's a way that might work already:

0 on activate > bleh > if var > bleh == 4 2
1 on activate > bleh > if var > bleh == 5 3
2 on var true > self > set print text > 4
3 on var true > self > set print text > 5

however that would be very time consuming and annoying and might be glitchy so yes i support this suggestion

that's not what he wants
he wants like

onActivate --> brick --> setPrintText --> <cl:var:value>

that's not what he wants
he wants like

onActivate --> brick --> setPrintText --> <cl:var:value>

yeah this is pretty much what i'm looking for

It already does this. Are you sure you have the latest version?

You can print VCE values in bottomprint, centerprint, and chat using events.

If the variable wood is a client variable, do <var:cl:wood> in an event, and it will display the number of "wood" you have.


Breakdown:
 var = variable
 cl = its on the client
 wood = variable name

so on a brick it would be <var:br:wood>   

If this isn't what you mean, please clarify.


But that DOES work with setprinttext. I remember a few years back when I had nothing to do and I was making computers with events, I put:

onRelay>Self>SetPrintText [<var:gl:time>]

Or something like that. I believe it's simtime but not sure. This was a few years back so maybe the coder broke it or VCE broke it itself but I can confirm that it worked.