Author Topic: VCE buy system help.  (Read 808 times)

I'm trying to make it so when you have 40 or more gold, you can buy a cudgel.
But no matter how much gold I have, it says I don't have enough!
Please help.

Add this event:

onActivate > Client > bottomPrint > [<color:FFFF00>Cash<color:FFFFFF>: <var:cl:cash>] [3]

The events in the OP should work, so you may be giving chas wrong. This event will allow you to see the cash variable.

Add this event:

onActivate > Client > bottomPrint > [<color:FFFF00>Cash<color:FFFFFF>: <var:cl:cash>] [3]

The events in the OP should work, so you may be giving chas wrong. This event will allow you to see the cash variable.
I did that. I am sure I have 40 gold, it refuses to work.

I tried coping off this one which works, modified a few vars, but then it wonk work!

Try this,

take all your event lines with Ifvariable, and change it to Ifvalue, and if that other variable was a client variable, represent it in the first box as <var:cl:cash>.

Ifvariable is not very reliable.

Also, I'm not quite sure if you can use spaces in a variable name...


Are you getting the item and getting the you don't have enough message or are you just plan not getting the item and getting the message?

Ifvariable is not very reliable.
it is, you're just doing the target wrong :D

Rookie, have you not done what I have said?

The events should work. You probably don't have enough to purchase the item. That's why I said use a bottom print to check the number.

Also, post what you are using to add cash.

Are you getting the item and getting the you don't have enough message or are you just plan not getting the item and getting the message?
Just getting message.

Rookie, have you not done what I have said?

The events should work. You probably don't have enough to purchase the item. That's why I said use a bottom print to check the number.

Also, post what you are using to add cash.
I'm sure this works. I have done bottom print.
Will post soon enough.

Just getting message.

For the brick that gives the gold are you using
Code: [Select]
input - client - VCE_modvariable - [ Gold ][ set/add/whatever][ Number ]?

For the brick that gives the gold are you using
Code: [Select]
input - client - VCE_modvariable - [ Gold ][ set/add/whatever][ Number ]?

yes

Update the VCE, and retry it with only the Defaults and VCE enabled.

yes

Sorry for the bump but i was slow to see this.

That does not work for some reason use
Code: [Select]
input - self - VCE_modvariable - [player/client] [ variable ] [set/add/whatever] [ number]