Author Topic: v2DMusic broke VCE, it seems  (Read 1748 times)

http://forum.blockland.us/index.php?topic=289917.0

After enabling this add-on, a simple VCE event such as this:

...No longer works. Clicking the brick does nothing anymore.
I played blockland for a while, then I turned on trace, clicked a block with a similar event that is supposed to give the boombox item, opened and closed the menu, turned off trace, then closed blockland.

[urlhttp://justfilehosting.space/download.php?f=ochse]console.log[/url]


That doesn't make any sense at all how the music add-on breaks VCE.

That doesn't make any sense at all how the music add-on breaks VCE.
I seriously don't know how it happened, but the event worked before I had the add-on enabled.

I'll look into it when I get home.

Till then, try to use trace when adding an event, and clicking the brick.

I have not found any issues with VCE, please post a console log with trace.


Correct me if I'm wrong, isn't it supposed to be ifVariable?

Correct me if I'm wrong, isn't it supposed to be ifVariable?
Well, it's checking the variable for a certain value.
And it did work before, as stated.

Okay, can you do a new trace console.log without you doing a bunch of other stuff. If you're just testing if VCE works, just place like, 1 or 2 bricks and test it that way.
When you load a build, you're making the log huge and nearly impossible for us to look through it.


According to the log, it's working.

shouldn't it be like client>VCE_ifVariable

im so confused holy forget

Correct me if I'm wrong, isn't it supposed to be ifVariable?

shouldn't it be like client>VCE_ifVariable
checking score can be done through the variable replacers

to check the score variable on a client:
input>self>vce_ifvalue[<var:cl:score>][comparison logic][int comparison][affected events lines start/end]

ie, to check the score on click such that the player has 2 points, for all events on the brick
onactivate>self>vce_ifvalue[<var:cl:score>][>=][2][]