|
|
(72 intermediate revisions by 35 users not shown) |
Line 1: |
Line 1: |
| [http://smallbizbohol.com/democatalog/images/baner/natmcp.html with transaction costs] [http://roycemotor.com/carpics/cache/hqugrg.html six pack summer lyrics] [http://indianaoutfitters.com/s/info/tmp/ipjsed.html mrna in situ hybridization] [http://www.norcab.com.au/joeavatiforum/templates/cache/lmgvke.html lesbian flirting] [http://ankelia-nature.com/catalogues/catalogues/qvbrcd.html working title internships] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/dcvwfh.html marine aquariam 2] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/sfvvjc.html add video on myspace] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/nnwdon.html microsoft pptp server] [http://asie-voyages.com/upload/images/lens/kmaqjg.html novartis international] [http://www.biblored.org.co/agenda_actividades/programas/images/hbttfu.html animation maker for windows] [http://hoosierfishing.com/phpBB/images/avatars/avatar/vfqjqr.html wichita city of] [http://talentmodeles.com/mannequin/images/cache/jhlxij.html 3 nada] [http://tch-voyages.com/documents/prague/896/sgtfge.html video editting software free] [http://www.biblored.org.co/agenda_actividades/programas/images/fnqphm.html works cited paper] [http://www.youthfitnesssolutions.com/FTP1/page9/hmmceo.html madison county property search] [http://coastguard.gov.ph/content.old/license/hkaweg.html peter regan] [http://xuccco.org/themes/AT-Green3/hfhxql.html apartment in italy rental rome] [http://www.hdac.org/hdfaq/faq/hxmbkv.html 1997 boat review] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/xxfolq.html vegetables processing equipment] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/noxrlf.html longhorns texas ticket] [http://tarsierfoundation.org/content/license/ptptjo.html masturbation picture tip] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/huvpnl.html wild oats natural food] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/rpcxqo.html 8th grade math problem] [http://cvscaft-tcc.edu.ph/gallery/uploads/cache/vtawbi.html job refusal] [http://www.biblored.org.co/agenda_actividades/programas/images/kifjel.html expert land report sample use] [http://smallbizbohol.com/democatalog/images/baner/oevhwo.html subtitle tool] [http://www.youthfitnesssolutions.com/FTP1/page9/hsdctj.html sports radio boston ma] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/tcquec.html real audio convert] [http://indianaoutfitters.com/s/info/tmp/ilskal.html pleasant hill weather service] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/enqxoj.html square matrices] [http://www.lewakins.com/sr/images/qajqfj.html record streaming audio mac] [http://panties-pictures.com/free/lib/temp/ptutcx.html amp fender] [http://www.lewakins.com/sr/images/ihbbmf.html resident evil movie poster] [http://lumayagrealty.com/catalog/images/pics/lpuwkr.html wv tax and revenue] [http://www.redacademica.edu.co/manejocorreo/Cliente/cache/anuupd.html state bond rating] [http://lumayagrealty.com/catalog/images/pics/cjfola.html illinois comprehensive health insurance plan] [http://www.hdac.org/hdfaq/faq/bhofkc.html miami dade housing] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/guedag.html translate russian web] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/gkuvst.html university of south carolina honors college] [http://tarsierfoundation.org/content/license/wihqdw.html midlands choice network] [http://roycemotor.com/carpics/cache/cwwhwl.html she gone lyric] [http://www.youthfitnesssolutions.com/FTP1/page9/dvhmnk.html esp audio pages] [http://www.lewakins.com/sr/images/ddjdqo.html logarithm base 7] [http://panties-pictures.com/free/lib/temp/fmvtsd.html american expresss uk] [http://indianaoutfitters.com/s/info/tmp/awlgoj.html power plant load factor] [http://tch-voyages.com/documents/prague/896/rdhonl.html serial numbers] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/ojhcdr.html waters consulting group] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/cfaabo.html 69 dublin bus] [http://tarsierfoundation.org/content/license/twkggu.html upcoming concert tour] [http://tch-voyages.com/documents/prague/896/jrdled.html nero burning free trial] [http://indianaoutfitters.com/s/info/tmp/xpwtog.html washington mutaul mortgage] [http://talentmodeles.com/mannequin/images/cache/otfrdd.html red sea terrorism] [http://tch-voyages.com/documents/prague/896/mioctp.html new brian eno] [http://indianaoutfitters.com/s/info/tmp/qlqcca.html tomatoe jelly] [http://smallbizbohol.com/democatalog/images/baner/ecwxhb.html missy elliot hot boyz] [http://panties-pictures.com/free/lib/temp/mahfww.html walter benton] [http://www.hdac.org/hdfaq/faq/mtxsko.html leisure world southampton uk] [http://www.lewakins.com/sr/images/lhxqoi.html lp field] [http://roycemotor.com/carpics/cache/oneogm.html asian boy skinny] [http://ankelia-nature.com/catalogues/catalogues/roxecs.html aol technical help phone number] [http://panties-pictures.com/free/lib/temp/vqtnog.html marathon racing tips] [http://www.lewakins.com/sr/images/woqeif.html pro and cons of internet dating] [http://lumayagrealty.com/catalog/images/pics/phanxn.html music sheet stripes white] [http://www.biblored.org.co/agenda_actividades/programas/images/nulpvg.html lyrics for the song rich girls] [http://ankelia-nature.com/catalogues/catalogues/wqnluk.html teasing lingerie] [http://cvscaft-tcc.edu.ph/gallery/uploads/cache/kbhcwk.html sw battlefront patch] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/xjbwbs.html michael fellin] [http://hoosierfishing.com/phpBB/images/avatars/avatar/osjrtr.html southwestern missouri state university] [http://www.norcab.com.au/joeavatiforum/templates/cache/anlfdt.html early wynn] [http://hoosierfishing.com/phpBB/images/avatars/avatar/qbgjwc.html ju on movie pictures] [http://smallbizbohol.com/democatalog/images/baner/jbglqx.html pictures of black holes in space] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/gxisxs.html road trip music] [http://smallbizbohol.com/democatalog/images/baner/amepvg.html indiana columbus contracts legal] [http://indianaoutfitters.com/s/info/tmp/walqtq.html v drive parts] [http://www.redacademica.edu.co/manejocorreo/Cliente/cache/fdiqbl.html professional credit counselor] [http://cvscaft-tcc.edu.ph/gallery/uploads/cache/wlgbhb.html martin drake] [http://roycemotor.com/carpics/cache/bvvnfc.html james farris] [http://www.lewakins.com/sr/images/llaajm.html us psychiatric rehabilitation association] [http://tarsierfoundation.org/content/license/wmpmdr.html is christopher reeves dead] [http://lumayagrealty.com/catalog/images/pics/stfavb.html vrouw zoekt vrouw] [http://www.redacademica.edu.co/manejocorreo/Cliente/cache/juqwsk.html the dark lady of dna] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/tjsesk.html all the earth lyrics] [http://indianaoutfitters.com/s/info/tmp/tkrdqh.html robert b stone] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/xjfpqj.html post office business] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/umchae.html online reading tarot] [http://smallbizbohol.com/democatalog/images/baner/bckuth.html run parallel] [http://www.biblored.org.co/agenda_actividades/programas/images/xhcopf.html management record retention] [http://indianaoutfitters.com/s/info/tmp/wfexkr.html online transcription job] [http://www.biblored.org.co/agenda_actividades/programas/images/cxnnma.html 3 way lunge] [http://hoosierfishing.com/phpBB/images/avatars/avatar/epwohv.html 3 band body lyric making touching] [http://tarsierfoundation.org/content/license/djwbtv.html inheritence in c] [http://www.biblored.org.co/agenda_actividades/programas/images/uxoawo.html wood working equipment leasing] [http://asie-voyages.com/upload/images/lens/lsugfj.html northwest arkansas home builder] [http://asie-voyages.com/upload/images/lens/kdcrxm.html 20 american top] [http://indianaoutfitters.com/s/info/tmp/rtobaq.html elliptical machines review] [http://www.sedbogota.edu.co/FINANCIERA/temp/tmp/fmpblr.html sa times london] [http://tarsierfoundation.org/content/license/arqocs.html australasian tour] [http://hoosierfishing.com/phpBB/images/avatars/avatar/pickhj.html event number performance] [http://bluespringsbmx.com/4IMAGES/data/media/10/tmp/lhxsgl.html patriotic music mp3] [http://www.biblored.org.co/agenda_actividades/programas/images/wduubr.html ass black cock her in white]
| | {{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