Blockland Forums > Help

VCE Score system help

Pages: (1/2) > >>

gr8dayseth:

I tried doing this, but since I don't know jack about vce, I searched up on how to do this.
It's kinda working, but no matter what score you have, <= will be true, and >= will be false.

Maybe I'm doing it wrong, but can someone give me an example?

gr8dayseth:

No one EVER comes to the help board.

ravencroft:

What exactly do you want to do?

gr8dayseth:

Basically trying to buy a weapon.
Say it's 5 points.

What I'm doing is:

onActivate > Player > VCE_ifVariable > [points        ] >= [5         ] [    ]
onVariableTrue > additem > weapon
onVariableTrue > Client > incscore > [-5]
onVariableFalse > Client > Centerprint > [You don't have enough points!]

But every time, no matter what the score, it always does one thing.

AdinX:


--- Quote from: gr8dayseth on March 16, 2013, 03:10:33 PM ---onActivate > Self > VCE_ifVariable [Client] [Points] [>=] [5] [1 3]
onVariableTrue > additem > weapon
onVariableTrue > Client > incscore > [-5]
onVariableFalse > Client > Centerprint > [You don't have enough points!]

--- End quote ---

You need to fill that last box with the events that you want activated. The first number is where it starts, the last number is where it stops. Otherwise, it checks ALL onVars.

Also, score is under client, not the player. If it was under player, your score would reset EACH time you died or re-joined. Client stays as long as your on the server.

Ideally your whole first line is wrong lol

Pages: (1/2) > >>

Go to full version