UE3 - UDK Newbie question about variables.

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Rudolfus

New Member
Feb 7, 2011
2
0
0
Hello. I'm new with UDK and I have a small question about variables, most importantly bool.

Right now I am trying to create a simple puzzle where a door only unlocks after you have pressed four switches hidden in the room. I tried it with only one switch first, and it was easy enough. Just change a bool to true one I hit the switch and used compare bool so I could only open the door once the switch had been used.

The only problem with four switches is that you can't link one compare bool to several bools. At least not to my knowledge. I would appreciate if someone could tell me how to make this door mechanism work.

Thanks in advance,
Ruud