Author Topic: VCE points help  (Read 603 times)

I am quite of an experience VCE eventer , evin if I say it nmyself.
But now I am humiliated.
I cannot possibly figure out how i can make a score higher=purchase system.
Please , someone help me make some events that can deposit items if a player has a certain score or higher.

something like VceVariableDifference < Client < <var:cl:score> (I think) = (required score)
OnVariableTrue < Player < AddItem. I'm not very experienced, but that's my guess.

blaze doesn't know what he's doing :D

also, i'd probably check if they're trying to jet, so you can display the price and item name
Code: [Select]
0 onactivate>self>vce_ifvalue[<var:pl:jetting>][==][1][1 2]
1 onvariablefalse>client>chatmessage[<color:ffffff>Jet and click to buy (item name) for (point value) points.]
2 onvariabletrue>self>vce_ifvalue[<var:cl:score>][>=][(amount)][3 7]
3 onvariabletrue>player>additem[(item)]
4 onvaraibletrue>client>incscore[-(point value)]
5 onvariablefalse>client>vce_modvariable[points][set][(ammount for item)]
6 onvariablefalse>client>vce_modvariable[points][subtract][<var:cl:score>]
7 onvariablefalse>client>centerprint[<color:ffffff>You need <var:cl:points> more points to buy this.]
note, you may want to delay line 5 by a little, and 6 by a little more (33 and 66 should work fine)

Alright , thanks.
I'll have to try that tomorrow.