|
|
(66 intermediate revisions by 33 users not shown) |
Line 1: |
Line 1: |
| [http://www.trampitas.com/encuentros/photos/p45n2/pierem.html labor birth of a video] [http://eyetxt.com/2007/themes/nucleus/images/pics/hewjbl.html international phone numbers] [http://grassroots.org.uk/home/images/gallery/tmp/afafgh.html see through bra] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/aqduks.html prescription drugs mexico] [http://www.w3survey.com/ppc/smarty/tmp/emsrvg.html las vegas realestate] [http://www.serene-desires.net/wp-content/uploads/cache/nbjswc.html mazda rx8 pictures] [http://renaissancechocolates.com/news/Jan2006/tmp/ntvlmw.html used trucks] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/mwedin.html timex watches] [http://jeffnolan.com/wp/images/pics/tdlvfe.html disney kid game] [http://awgp.org/jukebox/ram/temp/cache/gnfmxd.html cabins north carolina] [http://gtdesktop.com/blacksmiths/images/avatars/pics/cbjepo.html wallpaper] [http://ukcpitbull.com/galleries/data/thumbnails/18/bjixac.html rotweiler pictures] [http://awgp.org/jukebox/ram/temp/cache/fqiusm.html swinger sites] [http://4npublishing.com/blog/wp-content/themes/bonvoyage/images/gif/orjdqg.html pokemon music] [http://4npublishing.com/blog/wp-content/themes/bonvoyage/images/gif/bkkmqk.html new pokemon] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/aqenbv.html morgage supermarket] [http://soroptimist.sk/img_projekty/cache/axeflb.html nickelodeon] [http://eyetxt.com/2007/themes/nucleus/images/pics/hplmsb.html anime lesbian] [http://grassroots.org.uk/home/images/gallery/tmp/ewxbco.html macrobid] [http://gtdesktop.com/blacksmiths/images/avatars/pics/betfpo.html high risk personal loan lenders] [http://agar.sk/img_content/pics/jxcwdo.html money transfers] [http://grassroots.org.uk/home/images/gallery/tmp/esgtet.html lowest mortgage rates in canada] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/tthbkk.html selway archery equipment] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/wlbnob.html kia sorento accessory] [http://zbalai.com/cubecart/images/uploads/thumbs/pics/kkhxwo.html kitchen islands] [http://grassroots.org.uk/home/images/gallery/tmp/fuwgvs.html deep fryers] [http://eyetxt.com/2007/themes/nucleus/images/pics/whaeon.html indiana law lemon] [http://zbalai.com/cubecart/images/uploads/thumbs/pics/degfog.html bass shoes outlet] [http://www.trampitas.com/encuentros/photos/p45n2/nfkutb.html friendship bracelets] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/ajbqhh.html pregnancy teens] [http://monkeywench.net/spn/eyecandy/web/images/icons/kqfviw.html asiana airline] [http://gtdesktop.com/blacksmiths/images/avatars/pics/sjoscx.html lesbi girl] [http://awgp.org/jukebox/ram/temp/cache/lcqpsc.html home made videos] [http://grassroots.org.uk/home/images/gallery/tmp/jrqajx.html kitchen sinks] [http://agar.sk/img_content/pics/hjrqig.html uk phone directory] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/nbwsob.html cingular wireless answertones] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/exoisd.html cheating girlfriend] [http://www.trampitas.com/encuentros/photos/p45n2/frqejf.html technomarine watch] [http://www.trampitas.com/encuentros/photos/p45n2/ehisak.html video sex free] [http://www.trampitas.com/encuentros/photos/p45n2/hfpsju.html airline tickets for dirt cheap] [http://inexbrasil.com/cadastro/image/junaik.html ocn] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/xumdfa.html buspar] [http://soroptimist.sk/img_projekty/cache/cqqdoo.html oxycodon] [http://inexbrasil.com/cadastro/image/umobts.html flip flop] [http://www.trampitas.com/encuentros/photos/p45n2/mlelsi.html dell laptop] [http://www.w3survey.com/ppc/smarty/tmp/vmdobn.html mortgage payments calculator] [http://gtdesktop.com/blacksmiths/images/avatars/pics/nsxubx.html squirting vaginas] [http://agar.sk/img_content/pics/accrgp.html livesex] [http://ukcpitbull.com/galleries/data/thumbnails/18/fgiijw.html naruto wallpaper] [http://jangombert.com/blog/content/counter/cache/cqjjjr.html nascar racing] [http://www.trampitas.com/encuentros/photos/p45n2/ruwbpp.html black gay nude] [http://jeffnolan.com/wp/images/pics/fbvxnq.html poems] [http://dreamlab.ca/g1/albums/image/kljsut.html annulment] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/obrela.html movie download] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/jxxtsi.html horoscope sign] [http://4npublishing.com/blog/wp-content/themes/bonvoyage/images/gif/jpjeqn.html free online dating service] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/galodx.html list of baby girls names] [http://monkeywench.net/spn/eyecandy/web/images/icons/vwaoab.html menopause symptoms] [http://inexbrasil.com/cadastro/image/ugeecw.html lydias uniform] [http://aerocore.net/corey/images/pics/ajwtof.html hardware] [http://gtdesktop.com/blacksmiths/images/avatars/pics/nbbeej.html mastiff] [http://jeffnolan.com/wp/images/pics/prjoip.html spencers gift] [http://hypermodern.net/wp-content/uploads/2006/07/image/noxrex.html cruise travel] [http://renukainfo.com/cms/backups/renukai_sql/xonuml.html body] [http://jangombert.com/blog/content/counter/cache/cjophr.html tea tree oil] [http://inexcursos.com/hcl/icons/images/fgmjxo.html sylvania flat screen tv] [http://gtdesktop.com/blacksmiths/images/avatars/pics/jbxaxg.html fayetteville newspaper] [http://agar.sk/img_content/pics/reedjt.html eltron printer] [http://jangombert.com/blog/content/counter/cache/jhoqoi.html sport book] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/qbtosr.html school] [http://zbalai.com/cubecart/images/uploads/thumbs/pics/fsasbp.html johnny depp] [http://agar.sk/img_content/pics/suaona.html jena jameson] [http://cheapestcalling.com/Translate/Cache/tmp/mxibcg.html papa johns promotional code] [http://renaissancechocolates.com/news/Jan2006/tmp/sjajvt.html horny housewife] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/imxljo.html young anal] [http://www.w3survey.com/ppc/smarty/tmp/haftcn.html alcoa] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/tgjesc.html lesbians kissing] [http://awgp.org/jukebox/ram/temp/cache/wjnkca.html ged practice test] [http://jeffnolan.com/wp/images/pics/bncfdd.html ugg handbags] [http://www.w3survey.com/ppc/smarty/tmp/fuepxu.html sex matures] [http://cheapestcalling.com/Translate/Cache/tmp/xghosa.html ab lounger] [http://ukcpitbull.com/galleries/data/thumbnails/18/qnjtrf.html pokerstars cheats] [http://www.w3survey.com/ppc/smarty/tmp/hjtucu.html google earth] [http://inexbrasil.com/cadastro/image/goemwc.html resume forms] [http://zbalai.com/cms/images/banners/min/ilmuge.html teen pussy] [http://jangombert.com/blog/content/counter/cache/gtautb.html toni kessering] [http://www.w3survey.com/ppc/smarty/tmp/vtnucm.html hampton bay lighting] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/qquhts.html verizon wireless pix place] [http://aerocore.net/corey/images/pics/hkdkcg.html business] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/qunecj.html nissan pathfinder] [http://www.bluefieldhosting.com/trianglebahai/components/com_wrapper/image/opogse.html transfer money] [http://www.serene-desires.net/wp-content/uploads/cache/gdocwd.html vera bradley purse] [http://jeffnolan.com/wp/images/pics/nnhmbj.html dentist directory] [http://cheapestcalling.com/Translate/Cache/tmp/xhlhxa.html cheap cars] [http://handsofbrazil.com/inmuebles/pictures/listings/pics/katkpu.html us express trucking] [http://agar.sk/img_content/pics/jtxbev.html honolulu hostel] [http://monkeywench.net/spn/eyecandy/web/images/icons/tcxmob.html teen panties] [http://4npublishing.com/blog/wp-content/themes/bonvoyage/images/gif/kkbjew.html celebrity pussies] [http://soroptimist.sk/img_projekty/cache/dgoeqx.html dictionary synonyms] [http://fundingmatters.com/ishare/yabbfiles/avatars/thumb/urqxat.html myspace posters]
| | {{LanguageBar}} |
| {{wrongtitle|title=logic_relay}} | | {{TabsBar|main=s2|base=logic relay}} |
| ==Entity Description== | | {{This is a|logical entity|name=logic_relay|sprite=1}} |
| [[Image:{{PAGENAME}}.png|right]]
| | {{CD|CLogicRelay|file1=logicrelay.cpp}} |
| A message forwarder. Fires an [[#Outputs|OnTrigger output]] when triggered, and can be disabled to prevent forwarding outputs.
| | It is a Output forwarder, which can be used to fire many [[Inputs and Outputs#Outputs|output]]s at once from just one input, or, by being disabled, to break an I/O chain. It can also be very helpful for organization and keeping you from having to edit MANY instances of the same outputs, as opposed to just one. |
|
| |
|
| Useful as an intermediary between one entity and another for turning on or off an I/O connection, or as a container for holding a set of outputs that can be triggered from multiple places. Additionally, its Enabled/Disabled state can be used for conditional logic ("if, then" style logic).{{clr}}
| | After a <code>logic_relay</code> is triggered, it cannot be triggered again until all of its outputs are fired. This is useful for when a relay has a sequence of delayed outputs that shouldn't be repeated until the sequence is finished. This behavior can be disabled with the "Allow fast retrigger" spawnflag. |
|
| |
|
| ==Keyvalues== | | {{ent|logic_relay}} combines the functionality of {{ent|trigger_relay|game=Half-Life: Source}} and {{ent|multi_manager|game=Half-Life: Source}} from {{goldsrc|2}}. The older entities still exist in {{hls|2}}, but are deprecated. |
| | __NOTOC__ |
| | == Keyvalues == |
| | {{KV Targetname}} |
| | {{KV|Start Disabled|boolean|intn=StartDisabled|When disabled <code>OnTrigger</code> output won't fire}} |
|
| |
|
| * {{kv targetname}}
| | == Flags == |
| | {{fl|1|Only trigger once}} |
| | {{fl|2|Allow fast retrigger}} |
|
| |
|
| * {{kv enabledisable}}
| | == Inputs == |
| | {{I|Trigger|param=void|Trigger the relay, causing its OnTrigger output to fire if it is enabled.}} |
| | {{I|Enable|param=void|Allows the relay to fire the OnTrigger outputs after being disabled.}} |
| | {{I|Disable|param=void|Prevents the relay from firing OnTrigger outputs in response to Trigger inputs.}} |
| | {{I|Toggle|param=void|Toggle the relay between enabled and disabled.}} |
| | {{I|CancelPending|param=void|Cancel any events fired by this relay that are currently pending in the I/O event queue |
| | :{{bug|hidetested=1|If the caller of this input is the logic_relay itself it will break the I/O event queue which leads to a crash.}}}} |
| | {{I|EnableRefire|param=void|Automatically fired on a relay after any delayed outputs finish firing, allowing it to fire again.|nofgd=1}} |
| | {{I|TriggerWithParameter|param=variant|only={{mapbase}}|Triggers the relay with a parameter, causing its OnTriggerParameter output to fire if it is enabled.}} |
|
| |
|
| ==Flags== | | == Outputs == |
| | {{O|OnSpawn|param=void|ac-is-this=1|Fired when the relay is spawned. If the relay is set to only trigger once, it will delete itself after firing this output.{{note|Every level load (including save loads!) triggers this output, unless "Fire once only" is checked.}}}} |
| | {{O|OnTrigger|param=void|activator = activator of Trigger input|Fired when the relay is triggered. If the relay is set to only trigger once, it will delete itself after firing this output.}} |
| | {{O|OnTriggerParameter|param=variant|only={{mapbase}}|activator = activator of TriggerWithParameter input|Fired when the relay is triggered with a parameter. If the relay is set to only trigger once, it will delete itself after firing this output.}} |
|
| |
|
| * 1 : '''Only trigger once''' (Default Checked)
| | == See Also == |
| : If checked, this entity starts on.
| | * {{ent|logic_case}} |
| * 2 : '''Allow fast retrigger''' (Default Unchecked) | |
| : Allows fast retriggering.
| |
|
| |
|
| ==Inputs==
| | [[Category:IO System]] |
| | |
| * {{i targetname}}
| |
| | |
| * {{i enabledisable}}
| |
| | |
| * '''Trigger'''
| |
| : Trigger the relay, causing its OnTrigger output to fire if it is enabled.
| |
| | |
| * '''Toggle'''
| |
| : Toggle the relay between enabled and disabled.
| |
| * '''CancelPending'''
| |
| : Cancel any events fired by this relay that are currently pending in the I/O event queue.
| |
| | |
| ==Outputs==
| |
| | |
| * {{o targetname}}
| |
| | |
| * '''OnTrigger'''
| |
| : Fired when the relay is triggered. {{activator|activator}}
| |
| * '''{{ep1 add|OnSpawn}}'''
| |
| : Fired when the relay is spawned. If the relay is set to only trigger once, it will delete itself after firing this output.
| |
| | |
| [[Category:Entities]] | |
logic_relay
is a logical entity available in all
Source games.
It is a Output forwarder, which can be used to fire many outputs at once from just one input, or, by being disabled, to break an I/O chain. It can also be very helpful for organization and keeping you from having to edit MANY instances of the same outputs, as opposed to just one.
After a logic_relay
is triggered, it cannot be triggered again until all of its outputs are fired. This is useful for when a relay has a sequence of delayed outputs that shouldn't be repeated until the sequence is finished. This behavior can be disabled with the "Allow fast retrigger" spawnflag.
logic_relay combines the functionality of trigger_relay and multi_manager from
GoldSrc. The older entities still exist in
Half-Life: Source, but are deprecated.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
or target
).
Also displayed in Hammer's 2D views and Entity Report.
- Start Disabled (StartDisabled) <boolean>
- When disabled
OnTrigger
output won't fire
Flags
- Only trigger once : [1]
- Allow fast retrigger : [2]
Inputs
- Trigger <void>
- Trigger the relay, causing its OnTrigger output to fire if it is enabled.
- Enable <void>
- Allows the relay to fire the OnTrigger outputs after being disabled.
- Disable <void>
- Prevents the relay from firing OnTrigger outputs in response to Trigger inputs.
- Toggle <void>
- Toggle the relay between enabled and disabled.
- CancelPending <void>
- Cancel any events fired by this relay that are currently pending in the I/O event queue
Bug:If the caller of this input is the logic_relay itself it will break the I/O event queue which leads to a crash.
- EnableRefire <void> !FGD
- Automatically fired on a relay after any delayed outputs finish firing, allowing it to fire again.
- TriggerWithParameter <variantRedirectInput/variant> (only in
)
- Triggers the relay with a parameter, causing its OnTriggerParameter output to fire if it is enabled.
Outputs
- OnSpawn <void>
- !activator = !caller = this entity
Fired when the relay is spawned. If the relay is set to only trigger once, it will delete itself after firing this output.
Note:Every level load (including save loads!) triggers this output, unless "Fire once only" is checked.
- OnTrigger <void>
- !activator = activator of Trigger input
!caller = this entity
Fired when the relay is triggered. If the relay is set to only trigger once, it will delete itself after firing this output.
- OnTriggerParameter <variantRedirectOutput/variant> (only in
)
- !activator = activator of TriggerWithParameter input
!caller = this entity
Fired when the relay is triggered with a parameter. If the relay is set to only trigger once, it will delete itself after firing this output.
See Also