Author Topic: VCE_ifVariable For Named Brick? Help! *Solved*  (Read 332 times)

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
« Last Edit: September 29, 2010, 03:13:04 PM by Sheath »

The onVariableTrue/False has to be on the named brick.

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

OR

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

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.

ah I see, I need to use value and put nb_ before the brickname. Thanks!