Author Topic: Eventing Question  (Read 1033 times)

I was wondering, how do you make a door only open when the player that clicks on it has a certain amount of points? Thanks.

I think VCE would do the trick. I believe it would go something like onactivate check the points value of the player, and if it's large enough, then open the door. I'm not sure exactly what the events are, but it isn't too hard to figure it out if you've used VCE before.

Doesn't this go in Help?

Doesn't this go in Help?

Yes, but whatever.

Burple, this is what you would use:

onActivate -> Self -> VCE_ifValue -> [<var:cl:score>] [>=] [whatever number of points]
onVariableTrue -> NAMED BRICK -> contentStart -> [Unrestricted or anything else] [CW or CCW]
                         name of the door

EDIT: Thanks Loopy, fixed.
« Last Edit: May 19, 2010, 10:12:08 PM by Raeyok »

You should use [>=] instead of [=] or [==] so that way they can get through if they have at least said amount of points.