Blockland Forums > Help

VCE Help

Pages: (1/2) > >>

CpW:

I bet this is the billionth time someone's asked for help regarding VCE.
Still, I have no idea what I'm doing with it.

What I need to do:
I'm trying to make a collectibles system. For example, a player picks up a toy or something during a mini. The players are notified that this guy just picked up the toy, and will display how many there are left, counting up each toy as they go.

EG:

(player) has found collectible 1 of 28!

Is there any way to do this?

Gen. Hothauser:

You mean if they find a "toy" made out of bricks?

Easy

[0] [onactivate] [self] [ifvalue] [<var:cl:toy1>] [==] [0] [1-4]
[1] [onvariabletrue] [client] [vceminvariable] [toy1] [set] [1]
[2][onvartrue] [client] [vcemodvar] [toy#] [add] [1]
[3] [onvartrue] [minigame] [centerprintall] [someone found a toy!]
[4] [onvarfalse] [client] [centerprint] [you already found this toy]



Mold:

You forgeted up what you wanted to say because you didnt click 'No BBC code'

Mold:



[0] [onactivate] [self] [ifvalue] [<var:cl:toy1>] [==] [0] [1-4]
[1] [onvariabletrue] [client] [vceminvariable] [toy1] [set] [1]
[2][onvartrue] [client] [vcemodvar] [toy#] [add] [1]
[3] [onvartrue] [minigame] [centerprintall] [someone found a toy!]
[4] [onvarfalse] [client] [centerprint] [you already found this toy]


There, fixed.

Gen. Hothauser:


--- Quote from: Mold on August 07, 2012, 05:15:33 PM ---You forgeted up what you wanted to say because you didnt click 'No BBC code'

--- End quote ---

Oh stuff, whoops.

Pages: (1/2) > >>

Go to full version