Author Topic: VCE Help  (Read 644 times)

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?

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

Easy

  • [onactivate] [self] [ifvalue] [<var:cl:toy1>] [==]
  • [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]


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



[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.

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

Oh stuff, whoops.

This always happens when not on my computer.

Thanks, guys. This'll come in handy.

If anyone has any other ideas, feel free to mention.

Ok, maybe I'm not being claer enough.
I need this to work like the treasure chest function.

That's what those events do.

Well, thanks for the help, guys.

Locking.