Blockland Forums > Help
VCE modvariable -> set -> value ?
King Leo:
--- Quote from: tony-0222 on February 14, 2012, 04:49:08 PM ---My brain is fried, i give up :(
--- End quote ---
No problem, thanks for trying.
It turned out that my named bricks caused part of the problem. Either VCE can't handle bricknames that are more than 10 letters long, or it can't handle underscores..
I think I found a working solution using functions.
tony-0222:
Adding variables to namedbricks is broke.
Orthone:
Brick named Test:
Second brick that pulls a variable from the "Test" brick:
<var:nb_test:savedText> is what temp is being set to, the bar doesn't fully show it.
Pulled this from an old example I did where you could store a message on a brick, and then view what the last message was. Intended for a "radio" like setup. Was easy to modify to test what you wanted. =)
And if the saved variable is a number, you can add/subtract/(other operation here) just like it was a number.
Gen. Hothauser:
--- Quote from: Orthone on February 15, 2012, 02:19:58 AM ---Brick named Test:
Second brick that pulls a variable from the "Test" brick:
<var:nb_test:savedText> is what temp is being set to, the bar doesn't fully show it.
Pulled this from an old example I did where you could store a message on a brick, and then view what the last message was. Intended for a "radio" like setup. Was easy to modify to test what you wanted. =)
And if the saved variable is a number, you can add/subtract/(other operation here) just like it was a number.
--- End quote ---
we talked about this a while ago but how did you do this, was it just a simple screenshot or did you have to do more to get the image of these events?
Orthone:
--- Quote from: Gen. Hothauser on February 15, 2012, 06:08:39 PM ---we talked about this a while ago but how did you do this, was it just a simple screenshot or did you have to do more to get the image of these events?
--- End quote ---
To get the picture? I used a capture program called Hyperdesktop from imgur, similar to Gyazo but it works a lot better. I don't remember ever talking about how I do it though.. =/