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
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