Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 35 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Valve's Source
Category: HL2 Mapping
Half-Life 2 Single Player, Deathmath, Orange Box, etc. mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: 3 outputs into one
explorer7
General Member
Since: Apr 24, 2008
Posts: 41
Last: Feb 8, 2010
[view latest posts]
Level 2
Category: HL2 Mapping
Posted: Monday, Apr. 13, 2009 03:03 am
Hey guys. I have a dilemma. There are 3 buttons, and I want to make it so that when all 3 of them are pressed, one output value is fired. Is there an entity that can put 3 values into one? Thanks.
Share |
bartje321
General Member
Since: Mar 14, 2007
Posts: 13
Last: Apr 15, 2009
[view latest posts]
Level 1
Category: HL2 Mapping
Posted: Monday, Apr. 13, 2009 03:49 pm
Use 3 logic_relay (for each button 1)
set Start Disabled on Yes
when a button is pushed enable the logic_relay for that button
set the onTrigger output of the first logic_relay so that it triggers the second
set the onTrigger output of the second logic_relay so that it triggers the thirt
set the onTrigger output of the thirth logic_relay so that it will trigger the action which should happen if all 3 buttons are pushed
add an output to the three buttons so that the first logic_relay is triggered (set a delay of 0.01 so the logic_relay which belongs to the button is activated first)
Share |
explorer7
General Member
Since: Apr 24, 2008
Posts: 41
Last: Feb 8, 2010
[view latest posts]
Level 2
Category: HL2 Mapping
Posted: Wednesday, Apr. 15, 2009 07:43 pm
Thanks, I sort of get what you are saying. But if you make each logic_relay trigger the next, then you will only have to press one button to trigger them all, right? Im confused.
Share |
bartje321
General Member
Since: Mar 14, 2007
Posts: 13
Last: Apr 15, 2009
[view latest posts]
Level 1
Category: HL2 Mapping
Posted: Wednesday, Apr. 15, 2009 08:20 pm
only activated logic_relay's are triggered, you have to press all 3 buttons to activate all logic_relay's
Share |
explorer7
General Member
Since: Apr 24, 2008
Posts: 41
Last: Feb 8, 2010
[view latest posts]
Level 2
Category: HL2 Mapping
Posted: Wednesday, Apr. 15, 2009 08:24 pm
Oh ok. And what do you mean by adding a delay of 0.01 seconds to the first one?
Share |
bartje321
General Member
Since: Mar 14, 2007
Posts: 13
Last: Apr 15, 2009
[view latest posts]
Level 1
Category: HL2 Mapping
Posted: Wednesday, Apr. 15, 2009 10:26 pm
To make sure the logic_relay is activated before triggering the first logic_relay. otherwise the trigger could still be deactivated when you test if all 3 buttons are pushed
Share |
explorer7
General Member
Since: Apr 24, 2008
Posts: 41
Last: Feb 8, 2010
[view latest posts]
Level 2
Category: HL2 Mapping
Posted: Thursday, Apr. 16, 2009 09:28 pm
Thanks I got it to work!
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Valve's Source : HL2 Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»