[SOLVED] Does anyone know the equivalent of "if else"...
Posted Jun 13, 2011
I'm trying to come up with a way to organize the logic enities into an equivalent of an If else statement in hammer. If anyone has any pointers that could help, please post.
Registered users don’t see ads!
Register now!
Posted Jun 13, 2011
Replied
35 minutes
later
A logic_relay thats fired on whatever represents true, another thats fired on whatever represents false? Or maybe disable the first one on false, enable the second, disable second on true, enable the first, and try to trigger both in each case?
Posted Jun 13, 2011
Replied
1 hour
later
It really depends entirely on the situation. I imagine a logic_branch or a logic_case could work.
Posted Jun 13, 2011
Replied
2 hours
later
logic_case may also help you
Posted Jun 13, 2011
Replied
8 minutes
later
Err yeah I meant logic_case, not logic_relay.
Posted Jun 14, 2011
Replied
5 hours
later
DMuWDC_1UpQ
I figured it out! Here is the result. It may not be portal at all, but it worked.
Posted Jun 14, 2011
Replied
3 hours
later
Ah, the old "multi stop elevator" exercise.
Posted Jun 14, 2011
Replied
3 hours
later
It's a good multi stop elevator. I'll give it that. It changes light color depending on which floor you're on and looks really good.
Posted Jun 14, 2011
Replied
6 hours
later
The thing is it wasn't built from any tutorial. Made from scratch.
http://i588.photobucket.com/albums/ss32 ... elevat.png
This uses an entirely different system than the tutorial on the vdc has.
Posted Jun 14, 2011
Replied
1 hour
later
I didn't say tutorial, I said exercise. It's a great way to learn how to use complex I/O setups.
Posted Jun 14, 2011
Replied
41 minutes
later
Sorry, misinterpreted on what you ment, and thank you guys on your comments.
Registered users don’t see ads!
Register now!
Posted Jun 14, 2011
Replied
11 minutes
later
A multi-stop elevator... ideas are forming in my head. kwp21 pitts, you deserve a thumbs up!