Blockland Forums > General Discussion
VCE_ifVariable For Named Brick? Help! *Solved*
(1/1)
Sheath:
Is it possible to do something (outside of a minigame) such as...

onRelay > Named Brick > VCE_ifVariable> Test <= 5  [1 2]

Because checking a on a different brick doesn't seem to work, it just does nothing. :o
M:
The onVariableTrue/False has to be on the named brick.
Deathwishez:

--- Code: ---[X] 0 [0] onRelay -> <NAMED BRICK> {Tester} -> VCE_ifVariable -> [Test] <= [5] [1 2]

--- End code ---

OR


--- Code: ---[X] 0 [0] onRelay -> Self -> VCE_ifValue -> [<var:nb_tester:test>] <= [5] [1 2]

--- End code ---

Both will test the variable.

Method A will run the onVariableTrue/False on the named brick.

Method B will run the onVariableTrue/False on the original brick.
Sheath:
ah I see, I need to use value and put nb_ before the brickname. Thanks!
Navigation
Message Index

Go to full version