Author Topic: VCE Client Problem  (Read 902 times)

So, I've evented a bot as a ShopKeeper and it always says "You do not have enough wood."



--

I also evented a brick to add the Variable "Wood" to the client, (Yes, it does take the wood amount from the client, not the player. Unless that's wrong  :| )



That's the only line of events on the brick, anyone know how I can get the VCE Client to add Wood to my client, and then have the bot take away an amount of Wood and give an amount of another Variable?

I'm new to VCE Client.

you give wood to the client, and you check it on the player, you have to keep it on the same thing, client will keep the wood when they die/reset, although player won't
tip, on line 1, in the last box, put in: 2 (space) 5
that way it won't trigger any other events except for the event lines between and including 2 and 5

Thanks, I've only just now been playing with VCE.

noedit: Wait, what? It still doesnt work...





What am I doing wrong now?

noedit: Wait, what? It still doesnt work...

What am I doing wrong now?
Well, on your second set of events, that second event is completely useless. The first event would be adding 30 wood to the player each time they clicked it. In the first set of events, you may want to use a >= after checking to see if a player has 30 wood, that way a player can have 35 wood and still get the gold from it.

If that doesn't work, I suggest changing VCE_ifVariable to VCE_ifValue and change Wood in your VCE_ifVariable from the first set to <var:client:Wood> .

What I think you did was you clicked the second brick twice or more and got 60+ wood. Then when you tried talking to the shopkeeper, you didn't have exactly 30 wood so it gave you the onVariableFalse.