Author Topic: VCE Events: How to set more than one ID?  (Read 1247 times)

I figured out how to make my door so it checks for my BLID and if it doesn't match it doesn't let you in. Is there a way to make it so there's more than just me?

I wanna make me and a friend also have access to my house.

Onactivate > self > vceretrocheck > ifid > yourid > 1 2
Onvariabletrue > self > door > open
Onvariablefalse > self > vceretrocheck > ifid > friendid 3 4
onvariabletrue > self > door > open
Onvariablefalse > client > chatmsg > You don’t have access to this.

I have a crap-ton of events set to my ID and not set to it. As long as I just do another ifID event thing, does all my events apply to that too?

No, do what I put. The numbers at the end of each line signify which event they’re targeting. What you’re doing based on your description will lag and is messy.

Hmm, I think VCE allowed you to put the ids in a list seperated by spaces.   Just like:
"12465 44132"

If that doesn't work, I'd do:
Quote
E  N  D  Input           Target      Output          Field1      Field2  Field3
1  0  0  onActivate > Self > vceRetroCheck > ifBL_ID > 12465 [2 2]
1  1  0  onActivate > Self > vceRetroCheck > ifBL_ID > 44132 [2 2]
1  2  0  onVariableTrue > Self > Door > Open