Author Topic: VCE Help - Making a weapon shop?  (Read 2258 times)

Actually it works.

Just make a brick that events like this:

Onclick -> Client -> vcemod -> <var:cl:Score> -> set -> 200

Onclick -> Client -> vcemod -> <var:cl:Score> -> set -> 200

That would set the client's score to 200. Just use

client -> VCEifVariable -> <var:cl:Score> >= 200
self -> VCEretroCheck -> playerScore >= 200

That would set the client's score to 200. Just use


Yea I told him to make that so he can test the brick.
Read the 1st page

Guys, I got tom's events, he let my copy them. So i got the shop working. Thanks for all the tips! It really helped me understand VCE.

Herez a cookie  :cookie:

Or the var <var:pl:score>

Or the var <var:pl:score>
Woops. Didn't realize there were two pages :/

You can't modify a variable replacer.
AKA; Can't modify <var:cl:score> by setting it to 200.

Secondly, you cant check to see ifVariable VarReplacer is whatever, you have to use ifValue VarReplacer.
AKA; ifValue <var:cl:score> >= 200 instead of ifVariable.

You can't modify a variable replacer.
AKA; Can't modify <var:cl:score> by setting it to 200.

Secondly, you cant check to see ifVariable VarReplacer is whatever, you have to use ifValue VarReplacer.
AKA; ifValue <var:cl:score> >= 200 instead of ifVariable.

You are wrong, sorry to sound harsh.
I know VCE like the back of my hand.
You can modify the replacers value, and check for it.


You are wrong, sorry to sound harsh.
I know VCE like the back of my hand.
You can modify the replacers value, and check for it.

You apparently don't. You can't modify a var replacers, and you have to use ifValue to check for them, while you keep posting about ifVariable.
To affect a var replacer, you have to modify the actual variable. You can't change any built in replacers through VCE.


This right here, won't work.

It worked for me just fine.

You apparently don't. You can't modify a var replacers, and you have to use ifValue to check for them, while you keep posting about ifVariable.
To affect a var replacer, you have to modify the actual variable. You can't change any built in replacers through VCE.


This right here, won't work.

Orthone, please stop. Everyone, all of your tips are great! They all helped! You should take this to another topic. I already got mine fixed. Tomtom let me save his bricks and read over his shop events.

Goth77 is clueless.

He should really read the manual.

And in some cases orthone, it is possible to change some replacers.

Did you know that doing Modvariable name == <value here> will actually change the name of your brick?

I found that out the hard way lol