Author Topic: Can Named Bricks be used in VCE?  (Read 383 times)

I've read the manual and got nothing. Is it possible to used named bricks in variables? EG. <var:brick_test:testvariable>.

Named Brick>Modvar><var:br:var>

Actually I think what you want is <var:nb_NAME:var>, ie;
You have a brick named "Relay", you need to access its "iteration" variable, so you would do:
Code: [Select]
onActivate -> Self -> VCE_ifValue [ <var:nb_Relay:iteration>  >=  32 ]
That's if I remember rightly, the code is there but I'm not exactly sure if it works.
Also, you can't get the value of a name with multiple bricks assigned to it. It should only get the value of the first one.