Author Topic: VCE: Named Brick Variables/Values not functioning.  (Read 710 times)

I'm seriously confused as to why this isn't working. The events are extremely simple and someone who picked up VCE today could have made this. I've tried disabling unnecessary events add-ons as well as making sure my VCE addon is up to date.

I've simplified the original event lines for the sake of explanation.

MODIFIER:

0 onActivate > self > VCE_modvariable [mod] add [1]

BUTTON:

0 onActivate > modifier > VCE_ifvalue [<var:nb_modifier:mod>] == [1] [1]
1 OnVariableTrue > self > disappear [5]
2 onActivate > modifier > VCE_ifvalue [<var:nb_modifier:mod>] == [2] [3]
3 OnVariableTrue > self > disappear [10]


For the button, I have also tried:

0 onActivate > modifier > VCE_ifvariable [mod] == [1] [1]
1 OnVariableTrue > self > disappear [5]
2 onActivate > modifier > VCE_ifvariable [mod] == [2] [3]
3 OnVariableTrue > self > disappear [10]


I know I'm not the best at events out there and am incredibly rusty, but I'm actually dumbfounded by this.

Just to add, a friend of mine did some eval work for me and apparently he couldn't find any conflicting addons.

He also tried to make some events using ifvalue and they weren't working as well.

I also checked my console and there doesnt seem to be anything regarding VCE.

try using

MODIFIER:

0 onActivate > self > VCE_modvariable [mod] add [1]

BUTTON:

0 onActivate > self > VCE_ifvalue [<var:nb_modifier:mod>] == [1] [1]
1 OnVariableTrue > self > disappear [5]
2 onActivate > self > VCE_ifvalue [<var:nb_modifier:mod>] == [2] [3]
3 OnVariableTrue > self > disappear [10]


pretty sure if you put an ontrue/false on modifier, you'll see your events were triggering on that brick instead

welp that worked

can't believe i didn't see that i guess im just really damn tired lmao. been eventing all day. thanks phflack!

gonna leave this unlocked for now incase i run into any problems in a bit here