Posted by Gazoo on Mon Feb 20th at 3:55pm 2006
I've been desperatly trying to figure out how to make multiple buttons (together) activate anything - primarily a light. I've hooked up a single button to a light no problem (thanks to a tutorial on this great site) - but I've failed to make two buttons activate the light together.
Essentially I want each button to be pressed before the light turns on. Whatever order is irrelevant - as long as each button has been pressed the light should turn on. I've looked at logic_multicompare and tried a few combinations - but so far nothing.
I'd be much obliged if anyone has an idea and the time to help...
Thanks in advance,
Gazoo
P.s Hopefully this post turns out ok - I'm using this forum via Firefox and the editor is acting all screwy (starting with black text on a black background)...tmargin=2>
Posted by Orpheus on Mon Feb 20th at 3:59pm 2006
The mechanics of HL2 is slightly different that HL1 but, You are not going to target the light, but the other switches. The switch will then target the light.
Try thinking of the problem in that sequence.
Sorry I cannot be more specific.
Good luck.
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
The best things in life, aren't things.
Posted by Gazoo on Mon Feb 20th at 4:20pm 2006
The player has to press each button before the light turns on
Thanks thou,
Gazoo rel="stylesheet" href="themes/standard.css" type="text/css"></head><body topmargin=2 leftmargin=2>
Posted by Orpheus on Mon Feb 20th at 4:41pm 2006
The thing is, I suck at entity setups. I know what you need to do, but not how.
First, you must understand that you will not directly target the light. You will target the switches. That action will then target the light.
Also, the entities you may use may have multiple applications depending on the job that needs done. For instance, the light setup you want may be obtained by looking into an elevator tutorial. Since an elevator needs to stop on the floor you desire, and there are many floors then the switches would need to target the switches, not the elevator.
Try looking onto any tutorial that involves multiple outcomes.
Orpheus
member
13860 posts
1547 snarkmarks
Registered: Aug 26th 2001
Location: Long Oklahoma - USA

Occupation: Long Haul Trucking
The best things in life, aren't things.
Posted by DrGlass on Mon Feb 20th at 5:46pm 2006
check out logic_ entities for starters
DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
Posted by Stadric on Mon Feb 20th at 6:32pm 2006
give it the output:
OnMaxValue>>light>>turnOn
now make your buttons, make them both lock after the first press, and give them both this output:
onPressed>>Math_counter>>add>>1
I should write a tutorial on this
As I Lay Dying
Posted by DrGlass on Mon Feb 20th at 11:25pm 2006
OnIn>>>Math_counter>>add>>1
OnOut>>>Math_counter>>subtract>>1
so both buttons need to be pressed before they reset
DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
Posted by ReNo on Tue Feb 21st at 4:15am 2006
http://www.snarkpit.net/editing.php?page=tutorials&game=HL2&id=197
ReNo
member
5457 posts
933 snarkmarks
Registered: Aug 22nd 2001
Location: Scotland
Occupation: Level Designer
Posted by SuperCobra on Wed Feb 22nd at 8:06am 2006
Posted by Addicted to Morphine on Wed Feb 22nd at 4:42pm 2006
Posted by Gazoo on Fri Feb 24th at 8:35am 2006
Thanks for the help...
Gazoo
Snarkpit v6.1.0 created this page in 0.0303 seconds.



