Author Topic: Selling VCE Events  (Read 917 times)

I need help with making a selling system heres what I got.
OnActivate self VCEIfvar fish >= 1
OnVarTrue client modvar fish - 1
OnVarTrue client movar gold + 1
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:fish> fish.
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:gold> gold.

Help?
Please help?

What exactly is giving you problems?

The only problem I see is that you have two CenterPrint events instead of having one CenterPrint event that displays both variables, like this:

OnVarTrue --> client --> CenterPrint --> <color:ffffff> Remaining Fish: <var:client:fish>    Gold: <var:client:gold>

ok but for some reason its not working D:

wheres my edit button D:

I need help with making a selling system heres what I got.
OnActivate self VCEIfvar fish >= 1 [] (empty space not sure what its for tthats what the [] is)
OnVarTrue client modvar fish - 1
OnVarTrue client movar gold + 1
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:fish> fish.
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:gold> gold.

Help?
Please help?

sorry i dont have a edit button but the post above corrects my first post

wheres my edit button D:

welcome to help
and you forgot to fill in the target for the sub system, read up on the guide

welcome to help
and you forgot to fill in the target for the sub system, read up on the guide
And, I think you are suppost to use client for the first IfVar, not self. Self applies to the brick.

welcome to help
and you forgot to fill in the target for the sub system, read up on the guide
Subsystem doesn't need to be used if you only have one "If" input.

And, I think you are suppost to use client for the first IfVar, not self. Self applies to the brick.
This is most likely your problem.

And, I think you are suppost to use client for the first IfVar, not self. Self applies to the brick.
that too, didn't catch that at first, then again not looking hard, figuring peeps can figure it out themselves...

ok thank you all locking
 :cookieMonster: