Page 1 of 1
Two actions for one effect?
Posted: Sat May 22, 2004 2:56 pm
by Gambit37
I'd like to create a floor text that only displays if the player carries a certain object AND is facing a certain direction. To do this, you'd need some way of using one actuator to make another active or inactive. Is this possible?
Posted: Sat May 22, 2004 5:03 pm
by Zyx
Create two pressure pads pointing to an AND/OR gate which targets the text.
Posted: Sat May 22, 2004 5:08 pm
by Gambit37
Doh! Yeah of course. Gotta get used to thinking less literally with dungeon building!
Posted: Sat May 22, 2004 5:28 pm
by Paul Stevens
using one actuator to make another active or inactive
thinking less literally
Your thinking is quite right. Using one bit of
an AND/OR gate can be thought of as making
it active or inactive. If, for example, the target value
is zero, then setting bit 0 makes any of the other bits
totally ineffective. Exactly like making the gate 'inactive'
as far as the other bits are concerned.
Clearing bit 0 then makes it 'active' again.
It is just a matter of deciding how it is easiest to
think about the gate. Circumstances make it easier
think one way or another, depending on the problem to
be solved and your mental 'take' on the solution.