Author Topic: VCE CurrentItem Help  (Read 924 times)

When i did
vceifvalue <var:pl:currentItem> == Hammer
vartrue pl addvelocity 5
it didn't work
so how do you work current item?

onPlayerTouch > Self > VCE_ifValue > [<var:player:currentItem>] == [Hammer] [ ]
onVariableTrue > Player > addVelocity > [5]

death, i tried exactly that, and it didn't work yesterday (he was trying to get me to help him)

vceifvalue <var:pl:currentItem> == Hammer
vartrue pl addvelocity 5
Make sure you use OnVariableTrue, not VariableTrue; VariableTrue is the old variable system.

I'm sure ph would have tried this; but just the thing which sprung to my mind immediately.

It didn't work? How odd.

See if the VCE was outdated.

My Currentitem events work perfectly.

Obviously someone is probably running V4 with V5+, and it makes you have to remember that you use OnVariableTrue and not VariableTrue.


There's no reason to run an outdated variable system.

Just use the most recent VCE>

Obviously someone is probably running V4 with V5+, and it makes you have to remember that you use OnVariableTrue and not VariableTrue.
sorry forgot to say on
although i was using it

Remove the old variables.

Also, Currentitem is an extension that has to be downloaded separately isn't it?