Author Topic: how do you make a specific key do an event? (help with events)  (Read 562 times)

i tried to make a certain key open a door but how do i set a certain type of key to open the door? thats my question.

What do you kean with "key"
Like the item or a key on your keyboard

mean*

If you mean the key item, then paint the door or the switch in the co,or of the key you want and use the onKeyMatch event

I think he means the item key because I'm pretty sure the other way would take scripting

I think he means the item key because I'm pretty sure the other way would take scripting
Not if you have VCE: A yellow key could very well be a blue key in disguise

OnKeyMismatch -> Client VCE If Var -> KeyName = 1
OnVarTrue -> door -> toggle
OnVarFalse -> Client Msg -> "WRONG KEY BITCH"

The only thing you have to watch for is to make sure you set your MOD VAR for the key.
Place a brick down, wrench it

OnActivate -> Client VCEMODVAR -> KeyName SET 1

There you now have a custom key! Also the door has to be the opposite color of the key (which gives you more options opposed to only 4 colors anyways)

Good Luck

Ignore the above post because it's confusing and wrong

Ignore the above post because it's confusing and wrong

Obviously you no nothing about eventing?