Author Topic: I need a VCE genius, or at least someone with knowledge.  (Read 959 times)

Hello BLF. I need one of your best VCE'ers to come and help me on my server. I'm trying to make the thingy where if you have a certain number of points, you can buy a weapon. I'm currently hosting.

Hello BLF. I need one of your best VCE'ers to come and help me on my server. I'm trying to make the thingy where if you have a certain number of points, you can buy a weapon. I'm currently hosting.
I'm offline right now, I'll be back on later tonight in about 5-5 1/2 hours or so.

I can just post the events here once I get blockland running.
Funny that this is like the only thing I know how to do with VCE

I can just post the events here once I get blockland running.
Funny that this is like the only thing I know how to do with VCE
That'd be great, thanks!

If you say, wanted a gun for 50 points...

onActivate > Self > VCE_ifValue [<var:client:score>   ] >= [50] [you can leave this blank]
onVariableTrue > Player > additem > [Gun]
onVariableTrue > Client > ChatMessage [You bought a gun!]
onVariableTrue > Client > IncScore [-50]
onVariableTrue > Client > ChatMessage [You now have <var:client:score>.] (optional)
onVariableTrue > Client > playSound > Beep_TryAgain.wav (optional)
onVariableFalse > Client > ChatMessage [You need 50 points to buy a gun.]
onVariableFalse > Self > playSound > Beep_Denied.wav (optional)
onVariableFalse > Client > ChatMessage [You have <var:client:score>] (optional)

If you say, wanted a gun for 50 points...

onActivate > Self > VCE_ifValue [<var:client:score>   ] >= [50] [you can leave this blank]
onVariableTrue > Player > additem > [Gun]
onVariableTrue > Client > ChatMessage [You bought a gun!]
onVariableTrue > Client > IncScore [-50]
onVariableTrue > Client > ChatMessage [You now have <var:client:score>.] (optional)
onVariableTrue > Client > playSound > Beep_TryAgain.wav (optional)
onVariableFalse > Client > ChatMessage [You need 50 points to buy a gun.]
onVariableFalse > Self > playSound > Beep_Denied.wav (optional)
onVariableFalse > Client > ChatMessage [You have <var:client:score>] (optional)
Is much appreciated.