Blockland Forums > Help

VCE Help - Am I doing this correctly?

Pages: (1/2) > >>

Kyzor:

I'm trying to make the game Breakout with bricks, but am having a bit of trouble with the events, mainly the VCE ones. Here are the ones I have thus far:

On the bottom brick (the one that you're no supposed to let the pong hit) -

--- Code: ---[/] [onProjectileHit] [NAMED BRICK] [VCE_ifVariable] [<var:br:printcount>] [==] [0] []
[/] [onVariableTrue] [NAMED BRICK] [setPrintCount] [0]

--- End code ---

What I'm not sure about is the following:

Should I be using VCE_ifVariable or VCE_ifValue?
Should I be using onVariableTrue or VariableTrue?

Orthone:


--- Quote from: Kyzor on November 12, 2009, 12:47:47 AM ---I'm trying to make the game Breakout with bricks, but am having a bit of trouble with the events, mainly the VCE ones. Here are the ones I have thus far:

On the bottom brick (the one that you're no supposed to let the pong hit) -

--- Code: ---[/] [onProjectileHit] [NAMED BRICK] [VCE_ifVariable] [<var:br:printcount>] [==] [0] []
[/] [onVariableTrue] [NAMED BRICK] [setPrintCount] [0]

--- End code ---

What I'm not sure about is the following:

Should I be using VCE_ifVariable or VCE_ifValue?
Should I be using onVariableTrue or VariableTrue?

--- End quote ---


Kyzor:

Okay and see I tried that, but it didn't work. I'll try it again just to make sure I was doing the right thing.

Orthone:

What exactly are you trying to do? Do you have a server up in where I could help you?

Kyzor:

Oh I so wish I did. And unfortunately I cannot get on Blockland during the school week, will you be available to help out on Friday? You might even want to stay for my event competition server.

Pages: (1/2) > >>

Go to full version